--- # A reload leaves existing sessions connected, where a restart ends them. So a # bad config does not cut you off while you still have a way to fix it. - name: Reload sshd ansible.builtin.service: name: "{{ ssh_hardening_service_name }}" state: reloaded