35 lines
571 B
YAML
35 lines
571 B
YAML
|
- copy:
|
||
|
src: files/motd.{{ ansible_hostname }}
|
||
|
dest: /etc/motd
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|
||
|
|
||
|
- copy:
|
||
|
src: files/hosts
|
||
|
dest: /etc/hosts
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|
||
|
|
||
|
- copy:
|
||
|
src: files/sshd_config
|
||
|
dest: /etc/ssh/sshd_config
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0600
|
||
|
|
||
|
- copy:
|
||
|
src: files/resolv.conf
|
||
|
dest: /etc/resolv.conf
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|
||
|
|
||
|
- copy:
|
||
|
src: files/yum_debug_dump.txt.gz
|
||
|
dest: /root/yum_debug_dump.txt.gz
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0600
|