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
Branches
Tags
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
- include: "validate.yml" - include: "validate.yml"
- name: "Execute Role {{ role }}" - name: "Execute Role {{ role }}"
hosts: "{{ hosts }}" hosts: "{{ hosts|default('all') }}"
sudo: yes sudo: yes
roles: roles:
- "{{ role }}" - "{{ role }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment