X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Froles%2Fsshd%2Fhandlers%2Fmain.yml;h=b7beb0a35cb92686f4f9aa6a7163800ece47f352;hb=e325a0c297f1c41fc93fb39ee27ed6c7969f4ad9;hp=264fd314a50a8545dc730f2d868d32eb0c9ddaf1;hpb=ef8a08206532590b791f2950c4b22b4f2f871e97;p=ansible.git diff --git a/playbooks/roles/sshd/handlers/main.yml b/playbooks/roles/sshd/handlers/main.yml index 264fd31..b7beb0a 100644 --- a/playbooks/roles/sshd/handlers/main.yml +++ b/playbooks/roles/sshd/handlers/main.yml @@ -1,5 +1,5 @@ - name: Reload sshd become: true service: - name: "ssh{{ ansible_facts.distribution != 'Debian' and 'd' or '' }}" + name: "ssh{{ ansible_facts.os_family == 'RedHat' and 'd' or '' }}" state: reloaded