File tree Expand file tree Collapse file tree 5 files changed +25
-21
lines changed
environments/common/inventory Expand file tree Collapse file tree 5 files changed +25
-21
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
- - ansible.builtin.import_playbook : packages.yml
233
-
234
- - hosts : dnf_repos
235
- become : yes
236
- tasks :
237
- - name : Disable pulp repos
238
- ansible.builtin.include_role :
239
- name : dnf_repos
240
- tasks_from : disable_repos.yml
241
- when : appliances_mode != 'configure' and ansible_distribution_major_version == "9" # TODO update role once RL8 config decided
223
+ - import_playbook : disable-repos.yml
242
224
243
225
- name : Run post.yml hook
244
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 : packages .yml
30
+ - import_playbook : disable-repos .yml
31
31
32
32
- name : Run post.yml hook
33
33
vars :
Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ freeipa_client
150
150
151
151
[dnf_repos:children]
152
152
# Hosts to replace system repos with Pulp repos
153
+ # Warning: when using Ark directly rather than a local Pulp server, adding hosts other than `builder` will leak Ark creds to users
153
154
builder
154
155
155
156
[pulp]
156
157
# Add builder to this group to enable automatically syncing of pulp during image build
157
- # 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