File tree Expand file tree Collapse file tree 3 files changed +28
-28
lines changed Expand file tree Collapse file tree 3 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 110
110
policy : " {{ selinux_policy }}"
111
111
register : sestatus
112
112
113
- - name : Sync pulp repos with upstream
114
- hosts : pulp
115
- tasks :
116
- - ansible.builtin.include_role :
117
- name : pulp_site
118
- tasks_from : sync.yml
119
- apply :
120
- delegate_to : localhost
121
- when : appliances_mode != 'configure' and appliances_sync_pulp_on_build
122
-
123
- - hosts : dnf_repos
124
- become : yes
125
- tasks :
126
- - name : Replace system repos with pulp repos
127
- ansible.builtin.include_role :
128
- name : dnf_repos
129
- tasks_from : set_repos.yml
130
- when : appliances_mode != 'configure' and ansible_distribution_major_version == "9" # TODO update role once RL8 config decided
131
-
132
113
# --- tasks after here require access to package repos ---
133
114
- hosts : squid
134
115
tags : squid
Original file line number Diff line number Diff line change 14
14
import_playbook : " {{ hook_path if hook_path | exists else 'noop.yml' }}"
15
15
when : hook_path | exists
16
16
17
+ - name : Sync pulp repos with upstream
18
+ hosts : pulp
19
+ tasks :
20
+ - ansible.builtin.include_role :
21
+ name : pulp_site
22
+ tasks_from : sync.yml
23
+ apply :
24
+ delegate_to : localhost
25
+ when : appliances_mode != 'configure' and appliances_sync_pulp_on_build
26
+
27
+ - hosts : dnf_repos
28
+ become : yes
29
+ tasks :
30
+ - name : Replace system repos with pulp repos
31
+ ansible.builtin.include_role :
32
+ name : dnf_repos
33
+ tasks_from : set_repos.yml
34
+ when : appliances_mode != 'configure' and ansible_distribution_major_version == "9" # TODO update role once RL8 config decided
35
+
17
36
- import_playbook : bootstrap.yml
18
37
19
38
- name : Run post-bootstrap.yml hook
199
218
name : cloudalchemy.grafana
200
219
tasks_from : install.yml
201
220
221
+ - hosts : dnf_repos
222
+ become : yes
223
+ tasks :
224
+ - name : Disable pulp repos
225
+ ansible.builtin.include_role :
226
+ name : dnf_repos
227
+ tasks_from : disable_repos.yml
228
+ when : appliances_mode != 'configure' and ansible_distribution_major_version == "9" # TODO update role once RL8 config decided
229
+
202
230
- name : Run post.yml hook
203
231
vars :
204
232
appliances_environment_root : " {{ lookup('env', 'APPLIANCES_ENVIRONMENT_ROOT') }}"
Original file line number Diff line number Diff line change 28
28
- import_playbook : portal.yml
29
29
- import_playbook : monitoring.yml
30
30
31
- - hosts : dnf_repos
32
- become : yes
33
- tasks :
34
- - name : Disable pulp repos
35
- ansible.builtin.include_role :
36
- name : dnf_repos
37
- tasks_from : disable_repos.yml
38
- when : appliances_mode != 'configure' and ansible_distribution_major_version == "9" # TODO update role once RL8 config decided
39
-
40
31
- name : Run post.yml hook
41
32
vars :
42
33
# hostvars not available here, so have to recalculate environment root:
You can’t perform that action at this time.
0 commit comments