Initial base playbooks
Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
This commit is contained in:
parent
9c51597396
commit
dd603044fc
11 changed files with 305 additions and 0 deletions
14
playbooks/motd.yml
Normal file
14
playbooks/motd.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: 'Configure Motd components'
|
||||
hosts: 'all'
|
||||
|
||||
tasks:
|
||||
- name: 'Remove components from motd, that are not needed'
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
state: 'file'
|
||||
path: '/etc/update-motd.d/{{ item }}'
|
||||
mode: 'u=rw,g=r,o=r'
|
||||
loop:
|
||||
- '10-help-text'
|
||||
- '50-motd-news'
|
Loading…
Add table
Add a link
Reference in a new issue