copr-builders: install the subscription-manager when preparing the image
This commit is contained in:
parent
8ec98e22bb
commit
dc1f5c0148
1 changed files with 1 additions and 7 deletions
|
@ -77,11 +77,6 @@
|
||||||
failed_when: false
|
failed_when: false
|
||||||
when: prepare_base_image is defined
|
when: prepare_base_image is defined
|
||||||
|
|
||||||
# TODO: Drop this entirely once we are on F35+
|
|
||||||
- package_facts: manager=auto
|
|
||||||
when:
|
|
||||||
- copr_builder_fedora_version == 34
|
|
||||||
|
|
||||||
# TODO: Drop this entirely once we are on F35+
|
# TODO: Drop this entirely once we are on F35+
|
||||||
- name: install subscription-manager
|
- name: install subscription-manager
|
||||||
package: name=subscription-manager state=present
|
package: name=subscription-manager state=present
|
||||||
|
@ -89,8 +84,7 @@
|
||||||
# set of builder images needs to be generated first so the image contains the
|
# set of builder images needs to be generated first so the image contains the
|
||||||
# subscription-manager by default.
|
# subscription-manager by default.
|
||||||
when:
|
when:
|
||||||
- copr_builder_fedora_version == 34
|
- copr_builder_fedora_version == 34 or prepare_base_image is defined
|
||||||
- "'subscription-manager' not in ansible_facts.packages"
|
|
||||||
|
|
||||||
# TODO: Fix this once we are on F35+. This should be prepare_base_image only.
|
# TODO: Fix this once we are on F35+. This should be prepare_base_image only.
|
||||||
- name: install the subscription-manager script
|
- name: install the subscription-manager script
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue