From ea7a21db4005854a42e0e70d58197c3a41bfe24e Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 8 Sep 2015 17:13:29 +0200 Subject: [PATCH] Simplify playbook "role" to fall back to all hosts if not specified otherwise --- role.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/role.yml b/role.yml index 73250fa2..07ce2824 100644 --- a/role.yml +++ b/role.yml @@ -8,7 +8,7 @@ - include: "validate.yml" - name: "Execute Role {{ role }}" - hosts: "{{ hosts }}" + hosts: "{{ hosts|default('all') }}" sudo: yes roles: - "{{ role }}" -- GitLab