Added role to manage the hosts file
This commit is contained in:
8
roles/hostsfile/tasks/main.yaml
Normal file
8
roles/hostsfile/tasks/main.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: configure hosts file
|
||||
template:
|
||||
src: hosts.j2
|
||||
dest: /etc/hosts
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
Reference in New Issue
Block a user