Dry run and syntax check for ansible-playbooks

From Notes_Wiki
Revision as of 03:23, 11 May 2015 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Ansible_tips_and_tricks|Ansible tips and tricks</yambe:breadcrumb> =Dry run and syntax check for ansible-playbooks= To perform dry run and syntax check for ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Ansible_tips_and_tricks|Ansible tips and tricks</yambe:breadcrumb>

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