diff --git a/tasks/hosts.yml b/tasks/hosts.yml index c8970d54fe..ce2d0023a5 100644 --- a/tasks/hosts.yml +++ b/tasks/hosts.yml @@ -12,7 +12,10 @@ - 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/hosts/${ host_group }-hosts + - $files/hosts/${ ansible_fqdn }-hosts + - $files/hosts/${ ansible_hostname }-hosts + - $files/hosts/${ ansible_domain }-hosts + - $files/hosts/${ host_group }-hosts # skip: true ignore_errors: true tags: