17 lines
395 B
YAML
17 lines
395 B
YAML
|
---
|
||
|
- name: Copy issue and motd files
|
||
|
template:
|
||
|
src: "{{ item.src }}"
|
||
|
dest: "{{ item.dest }}"
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|
||
|
loop:
|
||
|
- { src: "etc/motd.j2", dest: "/etc/motd" }
|
||
|
- { src: "etc/issue.j2", dest: "/etc/issue" }
|
||
|
- { src: "etc/issue.net.j2", dest: "/etc/issue.net" }
|
||
|
loop_control:
|
||
|
label: "{{ item.dest }}"
|
||
|
become: True
|
||
|
become_user: root
|