Ansible/node-configuration/handlers/main.yml

9 lines
181 B
YAML

---
# handlers file for node-configuration
- name: Restart sshd service
ansible.builtin.service:
name: sshd
state: restarted
listen: "restart sshd"
ignore_errors: yes