File tree Expand file tree Collapse file tree 5 files changed +25
-18
lines changed
environments/common/inventory Expand file tree Collapse file tree 5 files changed +25
-18
lines changed Original file line number Diff line number Diff line change 110
110
policy : " {{ selinux_policy }}"
111
111
register : sestatus
112
112
113
+ - hosts : dnf_repos
114
+ become : yes
115
+ tasks :
116
+ - name : Check that creds won't be leaked to users
117
+ ansible.builtin.assert :
118
+ that : dnf_repos_password is undefined
119
+ fail_msg : Passwords should not be templated into repofiles during configure, unset 'dnf_repos_password'
120
+ when : appliances_mode == 'configure'
121
+ - name : Replace system repos with pulp repos
122
+ ansible.builtin.include_role :
123
+ name : dnf_repos
124
+ tasks_from : set_repos.yml
125
+ when : ansible_distribution_major_version == "9" # TODO update role once RL8 config decided
126
+
113
127
# --- tasks after here require access to package repos ---
114
128
- hosts : squid
115
129
tags : squid
Original file line number Diff line number Diff line change
1
+ - hosts : dnf_repos
2
+ become : yes
3
+ tasks :
4
+ - name : Disable pulp repos
5
+ ansible.builtin.include_role :
6
+ name : dnf_repos
7
+ tasks_from : disable_repos.yml
8
+ when : ansible_distribution_major_version == "9" # TODO update role once RL8 config decided
Original file line number Diff line number Diff line change 27
27
delegate_to : localhost
28
28
when : appliances_mode != 'configure'
29
29
30
- - hosts : dnf_repos
31
- become : yes
32
- tasks :
33
- - name : Replace system repos with pulp repos
34
- ansible.builtin.include_role :
35
- name : dnf_repos
36
- tasks_from : set_repos.yml
37
- when : appliances_mode != 'configure' and ansible_distribution_major_version == "9" # TODO update role once RL8 config decided
38
-
39
30
- import_playbook : bootstrap.yml
40
31
41
32
- name : Run post-bootstrap.yml hook
229
220
import_role :
230
221
name : doca
231
222
232
- - hosts : dnf_repos
233
- become : yes
234
- tasks :
235
- - name : Disable pulp repos
236
- ansible.builtin.include_role :
237
- name : dnf_repos
238
- tasks_from : disable_repos.yml
239
- when : appliances_mode != 'configure' and ansible_distribution_major_version == "9" # TODO update role once RL8 config decided
223
+ - import_playbook : disable_repos.yml
240
224
241
225
- name : Run post.yml hook
242
226
vars :
Original file line number Diff line number Diff line change 27
27
- import_playbook : slurm.yml
28
28
- import_playbook : portal.yml
29
29
- import_playbook : monitoring.yml
30
+ - import_playbook : disable_repos.yml
30
31
31
32
- name : Run post.yml hook
32
33
vars :
Original file line number Diff line number Diff line change @@ -147,8 +147,8 @@ freeipa_client
147
147
148
148
[dnf_repos:children]
149
149
# Hosts to replace system repos with Pulp repos
150
+ # Warning: when using Ark directly rather than a local Pulp server, adding hosts other than `builder` will leak Ark creds to users
150
151
builder
151
152
152
153
[pulp]
153
154
# Add builder to this group to enable automatically syncing of pulp during image build
154
- # Warning: when using Ark directly rather than a local Pulp server, adding hosts other than `builder` risks leaking Ark creds
You can’t perform that action at this time.
0 commit comments