copr-be: libdnf5 hack through include
This commit is contained in:
parent
c67977feb1
commit
9356133de4
3 changed files with 4 additions and 11 deletions
|
@ -16,11 +16,7 @@
|
||||||
when:
|
when:
|
||||||
- prepare_base_image is defined
|
- prepare_base_image is defined
|
||||||
|
|
||||||
- import_tasks: "libdnf5.yml"
|
- include_tasks: "libdnf5.yml"
|
||||||
|
when: prepare_base_image is defined
|
||||||
- name: "Work-around for https://github.com/ansible/ansible/issues/84206 #2 (reload remote python modules)"
|
|
||||||
meta: reset_connection
|
|
||||||
when:
|
|
||||||
- prepare_base_image is defined
|
|
||||||
|
|
||||||
- include_tasks: "provision_builder_tasks.yml"
|
- include_tasks: "provision_builder_tasks.yml"
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: "Work-around for https://github.com/ansible/ansible/issues/84206 #1 (install python3 libdnf5)"
|
- name: "Work-around for https://github.com/ansible/ansible/issues/84206 #1 (install python3 libdnf5)"
|
||||||
shell: dnf -y install python3-libdnf5
|
shell: dnf -y install python3-libdnf5
|
||||||
when:
|
|
||||||
- prepare_base_image is defined
|
|
||||||
|
|
||||||
- name: "Work-around for https://github.com/ansible/ansible/issues/84206 #2 (reload remote python modules)"
|
- name: "Work-around for https://github.com/ansible/ansible/issues/84206 #2 (reload remote python modules)"
|
||||||
meta: reset_connection
|
meta: reset_connection
|
||||||
when:
|
|
||||||
- prepare_base_image is defined
|
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: "libdnf5.yml"
|
- include_tasks: "libdnf5.yml"
|
||||||
|
when: prepare_base_image is defined
|
||||||
- import_tasks: "create_swap_file.yml"
|
- import_tasks: "create_swap_file.yml"
|
||||||
- import_tasks: "provision_builder_tasks.yml"
|
- import_tasks: "provision_builder_tasks.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue