mg
416c36f97c
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>
15 lines
321 B
YAML
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
|