copr-builder: fixes for custom subscription script
This commit is contained in:
parent
8c4b4ae332
commit
a04bdcfb9a
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,7 @@
|
||||||
copy:
|
copy:
|
||||||
src: copr-rh-subscribe.sh
|
src: copr-rh-subscribe.sh
|
||||||
dest: /usr/local/bin/copr-rh-subscribe.sh
|
dest: /usr/local/bin/copr-rh-subscribe.sh
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: Activate Red Hat Subscription
|
- name: Activate Red Hat Subscription
|
||||||
shell:
|
shell:
|
||||||
|
@ -100,6 +101,7 @@
|
||||||
--pass "{{ copr_red_hat_subscription_password }}" \
|
--pass "{{ copr_red_hat_subscription_password }}" \
|
||||||
--system "{{ lookup('env', 'RESALLOC_NAME') | default('unknown-builder') }}"
|
--system "{{ lookup('env', 'RESALLOC_NAME') | default('unknown-builder') }}"
|
||||||
no_log: true
|
no_log: true
|
||||||
|
when: prepare_base_image is not defined
|
||||||
|
|
||||||
- name: install copr-builder and other latest packages
|
- name: install copr-builder and other latest packages
|
||||||
dnf: state=latest pkg={{ packages }}
|
dnf: state=latest pkg={{ packages }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue