ansible-infra/roles/deploy_ssh_server_config/handlers/main.yaml
June 3548c1f4d6
All checks were successful
/ Ansible Lint (push) Successful in 2m9s
restart ssh service instead of rebooting as this should be fine
Active connections should survive a restart of the service and testing
also didn't show any issues.
2025-04-25 02:01:29 +02:00

5 lines
117 B
YAML

- name: restart the ssh service
ansible.builtin.systemd:
name: ssh.service
state: restarted
become: true