ansible/roles/hostsfile/tasks/main.yaml

9 lines
131 B
YAML

---
- name: configure hosts file
template:
src: hosts.j2
dest: /etc/hosts
owner: root
group: root
mode: 0644