Sunday, 16 January 2022

ANSIBLE - HOW TO CHECK THE SYNTAX/ERRORS IN ANSIBLE PLAYBOOK

 How to check the syntax/errors in Ansible Playbook

In order to check the syntax for the playbook, we can run the command - ansible-playbook  --syntax-check [Name of the playbook].

In my example, I am checking the errors for the playbook - create-dir-oracle.yml.



After executing the check, no errors were found in the playbook.

No comments:

Post a Comment