mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 12:03:38 +08:00
Back to the very original syntax
This commit is contained in:
@@ -12,8 +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/hosts/${ host_group }-hosts
|
||||
- files: $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:
|
||||
- config
|
||||
|
||||
Reference in New Issue
Block a user