aboutsummaryrefslogtreecommitdiffstats
path: root/roles/common/handlers
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2022-01-10 16:06:00 +0000
committerGravatar Joe Banks <[email protected]>2022-01-10 16:06:00 +0000
commitd9c1fd917431a5b65a0f4d987abc67331e2b37ee (patch)
treedd2c3b1315933897756671c0610acfc310b5f112 /roles/common/handlers
parentAdd Ansible inventory (diff)
Add common role for configuring hostnames and SSH
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