Bookmark this page

Summary

  • You can configure privilege escalation at the play, role, block, or task level.

  • Privilege escalation uses the become, become_user, become_method, and become_flags directives.

  • Ansible runs the play sections in the following order: pre_tasks, roles, tasks, and post_tasks.

  • Handlers run in the same order that they appear in the play.

  • You can use tags to select or skip tasks during play execution.

  • Disabling fact gathering speeds up the execution of playbooks.

  • You can use the timer, profile_tasks, and profile_roles callback plug-ins to profile playbooks.

Revision: do374-2.2-82dc0d7