master #1

Merged
lennard.brinkhaus merged 10 commits from dragonleo/role-goteleport:master into master 2023-09-02 14:53:03 +00:00
Showing only changes of commit 7d334559b7 - Show all commits

View File

@ -8,5 +8,17 @@
ansible.builtin.service:
name: teleport
state: restarted
failed_when: false
async: 15
poll: 0
when: ansible_service_mgr == "systemd"
notify: "Check Teleport restart"
- name: "Check Teleport restart"
delegate_to: localhost
ansible.builtin.wait_for:
host: "{{ inventory_hostname }}"
port: "3022"
delay: 10
timeout: 30
state: started
msg: "Telport has restarted"