homeserver/roles/mgrote.motd/handlers/main.yml
mg 416c36f97c munin (#116)
motd unit

house

plugins vereinheitlicht

aufräumen

user vereinheitlicht

samba users

aufgeräumt

aussortiert

apc pwr

systemd plugin

kvm plugins

lvm plguin

acng plugin

munin user

chrony fur alle

gruppe playbook

docker vars

playbook

firewall

munin für alle

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#116
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-06-16 21:57:28 +02:00

15 lines
321 B
YAML

---
- name: Erzwinge_Aktualisierung
become: yes
command: update-motd
when: ansible_facts['os_family'] == "Ubuntu"
- name: restart_sshd
become: yes
systemd:
name: sshd
state: restarted
- name: systemctl_reset_failed
become: yes
ansible.builtin.shell: systemctl reset-failed