1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00
ansible_role_sshd/handlers/main.yml

8 lines
146 B
YAML
Raw Normal View History

---
2020-03-17 15:43:13 +01:00
- name: systemctrl restart ssh
2019-03-04 17:21:55 +01:00
become: yes
service:
2020-08-04 15:07:02 +02:00
name: "{{ sshd__service }}"
state: restarted
2020-08-04 15:07:02 +02:00
when: sshd__service is defined