Bookmark this page

Summary

In this chapter, you learned:

  • Host patterns are used to specify the managed hosts to be targeted by plays or ad hoc commands.

  • Dynamic inventory scripts can be used to generate dynamic lists of managed hosts from directory services or other sources external to Ansible.

  • The forks parameter in the Ansible configuration file sets the maximum number of parallel connections to managed hosts.

  • The serial parameter can be used to implement rolling updates across managed hosts by defining the number of managed hosts in each rolling update batch.

  • You can use the import_playbook feature to incorporate external play files into playbooks.

  • You can use the include_tasks or import_tasks features to incorporate external task files into playbooks.

Revision: rh294-8.4-9cb53f0