Skip to content
Snippets Groups Projects
Commit ea7a21db authored by jurgenhaas's avatar jurgenhaas
Browse files

Simplify playbook "role" to fall back to all hosts if not specified otherwise

parent c381fcba
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
- include: "validate.yml"
- name: "Execute Role {{ role }}"
hosts: "{{ hosts }}"
hosts: "{{ hosts|default('all') }}"
sudo: yes
roles:
- "{{ role }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment