Bugfix: motd: force update (#330)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#330
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2022-02-18 20:36:10 +01:00
parent ce709e7918
commit 4e71b78109
4 changed files with 0 additions and 10 deletions

View file

@ -1,8 +1,4 @@
---
- name: force update
become: yes
command: update-motd
- name: restart_sshd
become: yes
systemd:

View file

@ -34,7 +34,6 @@
- 91-reboot
- 90-updates-available
- 91-release-upgrade
notify: force update
- name: delete "no warranty" - Message
become: yes
@ -55,7 +54,6 @@
- 20-facts-mgrote
- 90-updates-mgrote
- 91-reboot-mgrote
notify: force update
- name: delete fortune
become: yes
@ -63,7 +61,6 @@
path: /etc/update-motd.d/05-fortune-mgrote
state: absent
when: not motd_fortune_aktiv
notify: force update
- name: delete Wetter
become: yes
@ -71,4 +68,3 @@
path: '/etc/update-motd.d/10-wetter-mgrote'
state: absent
when: not motd_wetter_aktiv
notify: force update

View file

@ -14,4 +14,3 @@
owner: root
group: root
mode: '755'
notify: force update

View file

@ -6,4 +6,3 @@
owner: root
group: root
mode: '755'
notify: force update