Created prepare playbook
This commit is contained in:
13
ansible/tasks/clean-motd.yaml
Normal file
13
ansible/tasks/clean-motd.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
# This changes permissions so update motd can not read it
|
||||
- name: clean motd
|
||||
file:
|
||||
state: file
|
||||
path: /etc/update-motd.d/{{ item }}
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0000"
|
||||
with_items:
|
||||
- 10-help-text
|
||||
- 50-landscape-sysinfo
|
||||
- 50-motd-news
|
||||
- 91-release-upgrade
|
||||
Reference in New Issue
Block a user