From 1204730924436ef9e1c7c49c9557837f9a5ed0e8 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Wed, 8 Feb 2023 00:40:09 -0800 Subject: fork https://github.com/mattsta/mailweb --- ansible/roles/common/handlers/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ansible/roles/common/handlers/main.yml (limited to 'ansible/roles/common/handlers') diff --git a/ansible/roles/common/handlers/main.yml b/ansible/roles/common/handlers/main.yml new file mode 100644 index 0000000..ade4fea --- /dev/null +++ b/ansible/roles/common/handlers/main.yml @@ -0,0 +1,20 @@ +--- +- name: reload sshd + service: + name: sshd + state: reloaded + +- name: reload grub + command: update-grub + +- name: double disable systemd ntp client + command: timedatectl set-ntp false + +- name: clear motd cache + file: + path: "{{ item }}" + state: absent + loop: + - /var/cache/motd-news + - /run/motd.dynamic + - /run/motd.dynamic.new -- cgit v1.2.3