File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed
environments/.stackhpc/tofu Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 127127 that : dnf_repos_password is undefined
128128 fail_msg : Passwords should not be templated into repofiles during configure, unset 'dnf_repos_password'
129129 when : appliances_mode == 'configure'
130- - name : Replace system repos with pulp repos
131- ansible.builtin.include_role :
132- name : dnf_repos
133- tasks_from : set_repos.yml
134130
135- # --- tasks after here require access to package repos ---
136131- hosts : squid
137132 tags : squid
138133 gather_facts : yes
139134 become : yes
140135 tasks :
136+ # - Installing squid requires working dnf repos
137+ # - Configuring dnf_repos itself requires working dnf repos to install epel
138+ # - Hence do this on squid nodes first in case they are proxying others
139+ - name : Replace system repos with pulp repos
140+ ansible.builtin.include_role :
141+ name : dnf_repos
142+ tasks_from : set_repos.yml
143+ when : " 'dnf_repos' in group_names"
141144 - name : Configure squid proxy
142145 import_role :
143146 name : squid
144147
148+ - hosts : dnf_repos
149+ tags : dnf_repos
150+ gather_facts : yes
151+ become : yes
152+ tasks :
153+ - name : Replace system repos with pulp repos
154+ ansible.builtin.include_role :
155+ name : dnf_repos
156+ tasks_from : set_repos.yml
157+
158+ # --- tasks after here require general access to package repos ---
145159- hosts : tuned
146160 tags : tuned
147161 gather_facts : yes
Original file line number Diff line number Diff line change 11{
22 "cluster_image" : {
3- "RL8" : " openhpc-RL8-250115-1510-99f67c6d " ,
4- "RL9" : " openhpc-RL9-250115-1510-99f67c6d "
3+ "RL8" : " openhpc-RL8-250122-1150-a0899ef8 " ,
4+ "RL9" : " openhpc-RL9-250122-1150-a0899ef8 "
55 }
66}
You can’t perform that action at this time.
0 commit comments