Add option for install behind http_proxy (#384)

* Add option for install behind http_proxy

* Tidy up http_proxy usage
This commit is contained in:
Balázs Hasprai authored and GitHub committed 2023-10-21 00:18:36 +00:00
1 parent 95b2836dfc
commit e880f08d26
9 files changed
+72

No files matched your search

+5
View File
@@ -3,6 +3,7 @@
hosts: proxmox
gather_facts: true
become: yes
environment: "{{ proxy_env | default({}) }}"
roles:
- role: proxmox_lxc
when: proxmox_lxc_configure
@@ -10,6 +11,7 @@
- name: Prepare k3s nodes
hosts: k3s_cluster
gather_facts: yes
environment: "{{ proxy_env | default({}) }}"
roles:
- role: lxc
become: true
@@ -26,18 +28,21 @@
- name: Setup k3s servers
hosts: master
environment: "{{ proxy_env | default({}) }}"
roles:
- role: k3s_server
become: true
- name: Setup k3s agents
hosts: node
environment: "{{ proxy_env | default({}) }}"
roles:
- role: k3s_agent
become: true
- name: Configure k3s cluster
hosts: master
environment: "{{ proxy_env | default({}) }}"
roles:
- role: k3s_server_post
become: true