provision_management_user/handlers/main.yml
Bertrand Lanson edf6d4b74e
Some checks failed
test / Linting (push) Failing after 11s
test / Molecule tests (default, debian11) (push) Has been skipped
test / Molecule tests (default, debian12) (push) Has been skipped
test / Molecule tests (default, ubuntu2004) (push) Has been skipped
test / Molecule tests (default, ubuntu2204) (push) Has been skipped
test / Molecule tests (with_ssh_keys, debian11) (push) Has been skipped
test / Molecule tests (with_ssh_keys, debian12) (push) Has been skipped
test / Molecule tests (with_ssh_keys, ubuntu2004) (push) Has been skipped
test / Molecule tests (with_ssh_keys, ubuntu2204) (push) Has been skipped
feat: add vagrant tests for later, add become: true to not depend on ansible.cfg
2023-11-30 20:51:21 +01:00

9 lines
194 B
YAML

---
# handlers file for provision_management_user
- name: "Restart sshd service"
ansible.builtin.service:
name: sshd
state: restarted
become: true
listen: "systemctl-restart-sshd"