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 - name: Add all repositories
apt_repository: include_role:
repo: 'ppa:projectatomic/ppa' name: ensure-package-repositories
state: present vars:
become: yes repositories_list:
- repo: ppa:projectatomic/ppa
- name: Install podman - name: Install podman
package: package:

View File

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