vn-ansible/roles/config-hosts/tasks/main.yaml

11 lines
338 B
YAML

# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- name: Replace old /etc/hosts with new /etc/hosts
template:
src: hosts.j2
dest: "{{ path_hosts }}"
owner: root
group: root
mode: '0644'
backup: true
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++