File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -52,25 +52,29 @@ stackhpc_apt_repositories:
52
52
suites : " {{ ansible_facts.distribution_release }} {{ ansible_facts.distribution_release }}-updates {{ ansible_facts.distribution_release }}-backports"
53
53
components : main restricted universe multiverse
54
54
architecture : amd64
55
+ required : true
55
56
- url : " {{ stackhpc_repo_ubuntu_focal_security_url if ansible_facts.distribution_release == 'focal' else stackhpc_repo_ubuntu_jammy_security_url }}"
56
57
suites : " {{ ansible_facts.distribution_release }}-security"
57
58
components : main restricted universe multiverse
58
59
architecture : amd64
60
+ required : true
59
61
- url : " {{ stackhpc_repo_ubuntu_jammy_cve_2024_6387_url }}"
60
62
suites : " pulp"
61
63
components : upload
62
64
architecture : amd64
63
65
trusted : yes
66
+ required : " {{ ansible_facts.distribution_release == 'jammy' }}"
64
67
- url : " {{ stackhpc_repo_docker_ce_ubuntu_focal_url if ansible_facts.distribution_release == 'focal' else stackhpc_repo_docker_ce_ubuntu_jammy_url }}"
65
68
suites : " {{ ansible_facts.distribution_release }}"
66
69
components : stable
67
70
signed_by : docker.asc
68
71
architecture : amd64
72
+ required : true
69
73
70
74
# Do not replace apt configuration for non-overcloud hosts. This can result in
71
75
# errors if apt reconfiguration is performed before local repository mirrors
72
76
# are deployed.
73
- apt_repositories : " {{ stackhpc_apt_repositories if 'overcloud' in group_names else [] }}"
77
+ apt_repositories : " {{ stackhpc_apt_repositories | selectattr('required') | list if 'overcloud' in group_names else [] }}"
74
78
75
79
# Whether to disable repositories in /etc/apt/sources.list. This may be used
76
80
# when replacing the distribution repositories via apt_repositories.
You can’t perform that action at this time.
0 commit comments