diff options
Diffstat (limited to 'roles/ssh-port-fwd-user/handlers/main.yaml')
-rw-r--r-- | roles/ssh-port-fwd-user/handlers/main.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/ssh-port-fwd-user/handlers/main.yaml b/roles/ssh-port-fwd-user/handlers/main.yaml new file mode 100644 index 0000000..8c5ef88 --- /dev/null +++ b/roles/ssh-port-fwd-user/handlers/main.yaml @@ -0,0 +1,6 @@ +- name: restart ssh + systemd: + name: ssh + state: restarted + enabled: true + when: ansible_facts['service_mgr'] == 'systemd' |