system/tasks/hosts.yml
2021-07-18 11:39:52 +02:00

9 lines
159 B
YAML

- name: Install custom hosts file
become: true
template:
src: etc_hosts.j2
dest: "{{ hosts_file }}"
owner: root
group: root
mode: 0644