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:
5252 suites : " {{ ansible_facts.distribution_release }} {{ ansible_facts.distribution_release }}-updates {{ ansible_facts.distribution_release }}-backports"
5353 components : main restricted universe multiverse
5454 architecture : amd64
55+ required : true
5556 - url : " {{ stackhpc_repo_ubuntu_focal_security_url if ansible_facts.distribution_release == 'focal' else stackhpc_repo_ubuntu_jammy_security_url }}"
5657 suites : " {{ ansible_facts.distribution_release }}-security"
5758 components : main restricted universe multiverse
5859 architecture : amd64
60+ required : true
5961 - url : " {{ stackhpc_repo_ubuntu_jammy_cve_2024_6387_url }}"
6062 suites : " pulp"
6163 components : upload
6264 architecture : amd64
6365 trusted : yes
66+ required : " {{ ansible_facts.distribution_release == 'jammy' }}"
6467 - url : " {{ stackhpc_repo_docker_ce_ubuntu_focal_url if ansible_facts.distribution_release == 'focal' else stackhpc_repo_docker_ce_ubuntu_jammy_url }}"
6568 suites : " {{ ansible_facts.distribution_release }}"
6669 components : stable
6770 signed_by : docker.asc
6871 architecture : amd64
72+ required : true
6973
7074# Do not replace apt configuration for non-overcloud hosts. This can result in
7175# errors if apt reconfiguration is performed before local repository mirrors
7276# 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 [] }}"
7478
7579# Whether to disable repositories in /etc/apt/sources.list. This may be used
7680# when replacing the distribution repositories via apt_repositories.
You can’t perform that action at this time.
0 commit comments