Skip to content
Draft
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
11 changes: 11 additions & 0 deletions etc/kayobe/ansible/deployment/deploy-github-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
- role: geerlingguy.pip
- role: geerlingguy.docker
tasks:
- name: Set custom_env fact if any proxy variable is defined
ansible.builtin.set_fact:
custom_env: |
http_proxy={{ http_proxy | default('') }}
https_proxy={{ https_proxy | default('') }}
no_proxy={{ (['localhost', '127.0.0.1', '127.0.0.2'] + (no_proxy | default([]))) | unique | join(',') }}
when: >
http_proxy is defined or
https_proxy is defined or
no_proxy is defined

- name: Deploy runners
ansible.builtin.include_role:
name: monolithprojects.github_actions_runner
Expand Down
Loading