]> git.phdru.name Git - ansible.git/blob - playbooks/roles/sshd/handlers/main.yml
Feat(sshd): In Debian the service is called `ssh`, otherwise `sshd`
[ansible.git] / playbooks / roles / sshd / handlers / main.yml
1 - name: Reload sshd
2   become: true
3   service:
4     name: "ssh{{ ansible_facts.distribution != 'Debian' and 'd' or '' }}"
5     state: reloaded