system/tasks/hosts.yml

9 lines
175 B
YAML
Raw Normal View History

2021-07-18 09:39:52 +00:00
- name: Install custom hosts file
become: true
2022-12-10 17:51:03 +00:00
ansible.builtin.template:
2021-07-18 09:39:52 +00:00
src: etc_hosts.j2
dest: "{{ hosts_file }}"
owner: root
group: root
mode: 0644