diff --git a/tasks/hosts.yml b/tasks/hosts.yml index 5075cbf29c..e95e2ef686 100644 --- a/tasks/hosts.yml +++ b/tasks/hosts.yml @@ -12,7 +12,7 @@ - name: setup /etc/hosts for some clients action: copy src=$item dest=/etc/hosts with_first_found: - - files: $files/hosts/{{ ansible_fqdn }}-hosts $files/hosts/{{ ansible_hostname }}-hosts $files/hosts/{{ ansible_domain }}-hosts + - files: $files/hosts/{{ ansible_fqdn }}-hosts $files/hosts/{{ ansible_hostname }}-hosts $files/hosts/${ansible_domain}-hosts skip: true tags: - config