1
0
Fork 0

Initial base playbooks

Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
This commit is contained in:
Nis Wechselberg 2024-06-17 16:45:02 +02:00
parent 9c51597396
commit dd603044fc
Signed by: enbewe
GPG key ID: 7B25171F921B9E57
11 changed files with 305 additions and 0 deletions

14
playbooks/motd.yml Normal file
View 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'