role-goteleport/handlers/main.yml
2023-02-16 15:15:37 +01:00

12 lines
257 B
YAML

---
- name: "Restart Teleport"
ansible.builtin.service:
name: teleport
state: restarted
when: ansible_service_mgr == "systemd"
- name: "Reload systemd"
ansible.builtin.systemd:
daemon_reload: true
when: ansible_service_mgr == "systemd"