Ansible: Difference between revisions

Targets: Add testing section
Line 89: Line 89:
# <code>ansible-playbook --check</code> (against prod)
# <code>ansible-playbook --check</code> (against prod)
# parallel infrastructure
# parallel infrastructure
In development
# Use the <tt>debug</tt> module
# Use the <tt>fail</tt> module to fail
# Use the <tt>assert</tt> module to make assertions (and fail if they don't match)


== Best Practices ==
== Best Practices ==