ansible-roles/sshd_config/handlers/main.yml

10 lines
247 B
YAML

---
- name: Reload the ssh service
service: name=ssh state=reloaded
when: ansible_distribution_file_variety == 'Debian'
- name: Reload the ssh service
service: name=sshd state=reloaded
when: ansible_distribution_file_variety == 'RedHat'