ansible-common/roles/secure/handlers/main.yml

10 lines
165 B
YAML
Raw Normal View History

2024-10-16 19:16:11 +00:00
---
- name: reboot system
ansible.builtin.reboot:
when: common_allow_restart
2024-01-06 16:46:48 +00:00
- name: restart ssh
ansible.builtin.service:
name: sshd
2024-10-16 19:16:11 +00:00
state: restarted