Browse Ansible in a Minute A–Z
Every published guide, grouped by title. Use search on the guides home when you know the problem but not the name.
A
C
AAP 2.7 ·
Create a job template in AAP 2.7
Create a job template in Red Hat Ansible Automation Platform (AAP) 2.7 to run a playbook from a project against an inventory.
Certified Collections ·
Create an EC2 instance with an encrypted EBS volume
Use amazon.aws to create an EC2 instance that attaches an encrypted EBS root volume.
AAP 2.7 ·
Create an inventory in AAP 2.7
Create an inventory in Ansible Automation Platform 2.7 so you can group hosts for jobs.
L
U
Ansible Core ·
Use block rescue always to handle a failed task
Use block, rescue, and always to recover from a failed task and still run cleanup.
Ansible Core ·
Use changed_when to mark when a task changes the system
Use changed_when to report changed only when the task actually changed the system.
Ansible Core ·
Use failed_when to control when a task fails
Use failed_when to decide failure from the registered result instead of the default return code alone.
Ansible Core ·
Use search to match a pattern anywhere in a string
Use the Jinja search test in when to match a regex pattern anywhere in a string.
Ansible Core ·
Use serial to run a play against 20% of hosts at a time
Use the serial keyword to limit how many hosts Ansible processes in each batch.
Ansible Core ·
Use until to retry a task until a condition is met
Use until with retries and delay to poll a task until a condition is true.
Ansible Core ·
Use when to run a task only if a condition is true
Use when to skip a task unless a condition evaluates to true.