diff options
author | heqnx <root@heqnx.com> | 2025-05-29 19:34:32 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-05-29 19:34:32 +0300 |
commit | b8f1d76bd38d03e68fbc51f8e7340a9963a4104d (patch) | |
tree | 1cf7347b862e4c6059463ea6b811f44a0d37c41c /roles/ssh-nginx-multiplex/handlers | |
parent | 0e9c8dc71a87b86a9d99c82b5f9aaa37dffeb9bd (diff) | |
download | ansible-playbooks-b8f1d76bd38d03e68fbc51f8e7340a9963a4104d.tar.gz ansible-playbooks-b8f1d76bd38d03e68fbc51f8e7340a9963a4104d.zip |
removed handlers, need to run all the time
Diffstat (limited to 'roles/ssh-nginx-multiplex/handlers')
-rw-r--r-- | roles/ssh-nginx-multiplex/handlers/main.yaml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/roles/ssh-nginx-multiplex/handlers/main.yaml b/roles/ssh-nginx-multiplex/handlers/main.yaml deleted file mode 100644 index 58c218b..0000000 --- a/roles/ssh-nginx-multiplex/handlers/main.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- name: enable ufw - ufw: - state: enabled - policy: deny - -- name: restart ufw - systemd: - name: ufw - state: restarted - enabled: true - when: ansible_facts['service_mgr'] == 'systemd' - -- name: restart nginx - systemd: - name: nginx - state: restarted - enabled: true - when: ansible_facts['service_mgr'] == 'systemd' - -- name: restart sslh - systemd: - name: sslh - state: restarted - enabled: true - when: ansible_facts['service_mgr'] == 'systemd' |