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 8cf12cc880 - Show all commits

View File

@ -8,5 +8,20 @@
failed_when: false
when: teleport_version_check|bool
- name: "Check if teleport pid file exist"
ansible.builtin.stat:
path: "{{ pid_file_telport }}"
register: pid_file_telport_state
- name: "Get Main PID of Teleport"
when: pid_file_teleport_state.stat.isdir is defined and not pid_file_teleport_state.stat.isdir
ansible.builtin.shell: "cat /run/teleport.pid"
args:
executable: /bin/bash
register: teleport_main_pid
changed_when: false
failed_when: false
- name: "Update goteleport"
ansible.builtin.include_tasks: "install.yml"