Reference - Steps
The steps list is required in the root of the Playbook.
Steps contains a list of the high-level operations your task performs.
You can define as many steps as you need.
Each individual step in the list is a dictionary.
A name used to identify the group of actions inside the step.
A list of actions.
Validation will fail without all required keys
Perform the step if a condition is met
Its value is a Python expression returning
See more in the conditionals section.
- Perform the step for each item in a list
See more in the for loops section.
- Perform the step until a condition is met
See more in the while loops section.
This snippet shows two named steps.
Each step performs a single action.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17