Use simpler file structure
This commit is contained in:
parent
8ea9414418
commit
e8cb486c8f
96 changed files with 1001 additions and 436 deletions
15
roles/common/tasks/host.yml
Normal file
15
roles/common/tasks/host.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
- name: copy hostname
|
||||
template:
|
||||
src: "hostname.j2"
|
||||
dest: "/etc/hostname"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
|
||||
- name: copy hosts
|
||||
template:
|
||||
src: "hosts.j2"
|
||||
dest: "/etc/hosts"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
Loading…
Add table
Add a link
Reference in a new issue