# playbook.yml
- name: Include roles
hosts: localhost
roles:
- block:
- role: create
# Anything in the test role can fail
- role: test
always:
- role: destroy
2)
# playbook.ymlblock:
- name: Create stuff
hosts: localhost
roles:
- role: create- name: Test stuffhosts: test-serversroles:- role: testalways:- name: Destroy stuffhosts: localhostroles:- role: destroyAny input is appreciated !