aboutsummaryrefslogtreecommitdiffstats
path: root/roles/common/handlers
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2022-01-10 16:43:35 +0000
committerGravatar GitHub <[email protected]>2022-01-10 16:43:35 +0000
commit913675699e867f1249d747c8e2275edc35462b39 (patch)
treedd2c3b1315933897756671c0610acfc310b5f112 /roles/common/handlers
parentAdd Ansible inventory (diff)
parentAdd common role for configuring hostnames and SSH (diff)
Merge pull request #1 from python-discord/jb3/common-role
Diffstat (limited to 'roles/common/handlers')
-rw-r--r--roles/common/handlers/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml
new file mode 100644
index 0000000..f8171a0
--- /dev/null
+++ b/roles/common/handlers/main.yml
@@ -0,0 +1,9 @@
+- name: restart ssh
+ service:
+ name: ssh
+ state: restarted
+
+- name: restart systemd-timesyncd
+ service:
+ name: systemd-timesyncd
+ state: restarted