ensure-podman: refactor to use ensure--package-repositories

This patch refactors ensure-podman to use the new generic role
to allow it to be cross-platform in the future.

Change-Id: Id9ad0fbaeb9d19d022393ad16a27f11260c45da0
This commit is contained in:
Mohammed Naser 2020-04-04 16:01:40 -04:00 committed by Andreas Jaeger
parent 90d9b9b7d9
commit ff5e5c17f6
2 changed files with 8 additions and 5 deletions

View File

@ -1,8 +1,9 @@
- name: Install projectatomic PPA
apt_repository:
repo: 'ppa:projectatomic/ppa'
state: present
become: yes
- name: Add all repositories
include_role:
name: ensure-package-repositories
vars:
repositories_list:
- repo: ppa:projectatomic/ppa
- name: Install podman
package:

View File

@ -103,6 +103,7 @@
- roles/pull-from-intermediate-registry/.*
- roles/push-to-intermediate-registry/.*
- roles/ensure-podman/.*
- roles/ensure-package-repositories/.*
- roles/build-container-image/.*
- roles/run-buildset-registry/.*
- roles/use-buildset-registry/.*
@ -271,6 +272,7 @@
abstract: true
files:
- roles/ensure-podman/.*
- roles/ensure-package-repositories/.*
- test-playbooks/ensure-podman/.*
run: test-playbooks/ensure-podman/main.yaml