Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tasks/install_runner_unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
mode: "0755"
owner: "{{ runner_user_id.stdout }}"
group: "{{ runner_user_group_id.stdout }}"
become: true

- name: Set runner_version variable (If latest)
ansible.builtin.set_fact:
Expand Down Expand Up @@ -36,6 +37,7 @@
group: "{{ runner_user_group_id.stdout }}"
remote_src: true
mode: "0755"
become: true
environment:
PATH: /usr/local/bin:/opt/homebrew/bin/:{{ ansible_facts.user_dir }}/bin:{{ ansible_facts.env.PATH }}
when: runner_version not in runner_installed.stdout or reinstall_runner
Expand All @@ -49,6 +51,7 @@
mode: "0755"
marker_begin: "# BEGIN ANSIBLE MANAGED BLOCK"
marker_end: "# END ANSIBLE MANAGED BLOCK"
become: true
when: custom_env is defined

- name: Check if runner service name file exist
Expand Down