Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 653 Bytes


ansible will:

  • generate a python script that does a task
  • copy the script to hosts
  • execute the script on hosts
  • wait for the script to complete execution on all hosts


  • runs each task in parallel across all hosts
  • waits until all hosts have completed a task before moving to the next task
  • runs tasks in the order you specify them

ansible modules:

  • are declarative
  • idempotent


  • uses YAML for configuation
  • uses Jinja2 templates


Ansible: Up & Running. Lorin Hochstein. O'Reilly. May 2015. Ansible Playbooks vs Roles