aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/common/handlers
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2024-04-11 21:04:07 +0200
committerGravatar jchristgit <[email protected]>2024-04-12 18:03:07 +0200
commit64ea0c915eedef50a2205f8da1073dbc57eb66a4 (patch)
tree837f9e171fedf742698f8f4ccc44161dd2136ab9 /ansible/roles/common/handlers
parentInstall unattended-upgrades on our nodes (diff)
Configure SSH daemon options in unit dropin
Disable password authentication and root logins and use a configuration file that is independent of the `sshd_config` that `apt` itself will modify on upgrades.
Diffstat (limited to 'ansible/roles/common/handlers')
-rw-r--r--ansible/roles/common/handlers/main.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/ansible/roles/common/handlers/main.yml b/ansible/roles/common/handlers/main.yml
index 02cc88e..68db0ad 100644
--- a/ansible/roles/common/handlers/main.yml
+++ b/ansible/roles/common/handlers/main.yml
@@ -1,9 +1,13 @@
-- name: Restart ssh
+- name: Reload ssh
service:
name: ssh
- state: restarted
+ state: reloaded
+ tags:
+ - role::common
- name: Restart systemd-timesyncd
service:
name: systemd-timesyncd
state: restarted
+ tags:
+ - role::common