- name: reload sshd
systemd:
name: sshd
state: reloaded
notify: "reload sshd"
when: not run_in_installer|default(false)|bool