public-health-ch/ansible/roles/dev-sec.ssh-hardening/handlers/main.yml
2018-12-17 13:50:15 +01:00

4 lines
127 B
YAML

- name: restart sshd
service: name={{ sshd_service_name }} state=restarted
when: "(ssh_server_enabled|bool)"
become: yes