Dry run and syntax check for ansible-playbooks

From Notes_Wiki
Revision as of 11:50, 28 July 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > CentOS > CentOS 6.x > System administration tools > ansible > Ansible tips and tricks > Dry run and syntax check for ansible-playbooks

To perform dry run and syntax check for ansible-playbooks use:

ansible-playbook --syntax-check --list-tasks -i hosts_file playbook.yaml



Home > CentOS > CentOS 6.x > System administration tools > ansible > Ansible tips and tricks > Dry run and syntax check for ansible-playbooks