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
2020-08-04 15:07:02 +02:00

7 lines
146 B
YAML

---
- name: systemctrl restart ssh
become: yes
service:
name: "{{ sshd__service }}"
state: restarted
when: sshd__service is defined