role-goteleport/handlers/main.yml

13 lines
278 B
YAML
Raw Normal View History

2023-02-16 14:15:37 +00:00
---
- name: "Reload systemd"
ansible.builtin.systemd:
daemon_reload: true
when: ansible_service_mgr == "systemd"
2023-02-16 14:15:37 +00:00
- name: "Restart Teleport"
ansible.builtin.service:
name: teleport
state: restarted
failed_when: false
2023-02-16 14:15:37 +00:00
when: ansible_service_mgr == "systemd"