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