Dry run and syntax check for ansible-playbooks
From Notes_Wiki
<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