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

9 lines
132 B
YAML
Raw Normal View History

---
- name: restart ssh
2019-03-04 17:21:55 +01:00
become: yes
service:
2018-11-16 11:44:36 +01:00
name: "{{ ssh_service }}"
state: restarted
2019-03-04 17:21:55 +01:00
when: ssh_service is defined