role-goteleport/handlers/main.yml

12 lines
257 B
YAML
Raw Normal View History

2023-02-16 14:15:37 +00:00
---
- 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"