Add playbooks/motd.yml
This commit is contained in:
13
playbooks/motd.yml
Normal file
13
playbooks/motd.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
- name: deploy custom motd
|
||||||
|
hosts: apache-intranet
|
||||||
|
become: true
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
- name: replace base motd file
|
||||||
|
copy:
|
||||||
|
src: ../configs/motd
|
||||||
|
dest: /etc/motd
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
Reference in New Issue
Block a user