Ansible in a Minute
Learn one useful Ansible thing quickly.
A growing library of small, practical Ansible lessons. Each guide teaches one concept, operator task, or Certified Collection use case.
Tracks
Recent guides
Certified Collections ·
Add a VLAN to a Cisco IOS switch
Use cisco.ios to create a VLAN on a Cisco IOS switch.
AAP 2.7 ·
Create a job template in AAP 2.7
Create a job template in AAP 2.7 to run a playbook from a project against an inventory.
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.
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 ·
Launch a job from a job template in AAP 2.7
Launch a job from a job template in AAP 2.7 and confirm the run completes.
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 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.