DIB: install podman as dep
disk-imagebuild needs podman for the fedora-container element and probably more. Change-Id: I4577dc68300ac6aa357b355490d60bd5679603ce
This commit is contained in:
parent
0ed7f22fdd
commit
e6c5763352
|
@ -17,6 +17,23 @@
|
|||
diskimage_builder_build_depends: "{{ __diskimage_builder_build_depends | list }}"
|
||||
when: diskimage_builder_build_depends is not defined
|
||||
|
||||
- when:
|
||||
- ansible_distribution == "Ubuntu"
|
||||
- ansible_distribution_version == "18.04"
|
||||
block:
|
||||
- name: Add buildah repository key
|
||||
become: yes
|
||||
apt_key:
|
||||
url: https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_18.04/Release.key
|
||||
state: present
|
||||
|
||||
- name: Enable buildah repository
|
||||
become: yes
|
||||
apt_repository:
|
||||
repo: deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/ /
|
||||
update_cache: yes
|
||||
filename: buildah
|
||||
|
||||
- name: Define diskimage_builder_depends
|
||||
set_fact:
|
||||
diskimage_builder_depends: "{{ __diskimage_builder_depends | list }}"
|
||||
|
|
|
@ -23,5 +23,6 @@ __diskimage_builder_depends:
|
|||
- qemu-utils
|
||||
- uuid-runtime
|
||||
- yum-utils
|
||||
- podman
|
||||
|
||||
__diskimage_builder_package_name: python-diskimage-builder
|
||||
|
|
Loading…
Reference in New Issue