69c53666de
- makes ensure-podman work on additional platforms - prevents regression on new platforms fedora-30 and centos-8 - enables validation of podman engine Change-Id: I5842ad22d94522f707ef743622b8950839d96dff
19 lines
503 B
YAML
19 lines
503 B
YAML
- name: Find distribution installation
|
|
include: "{{ item }}"
|
|
static: no
|
|
with_first_found:
|
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
|
- "{{ ansible_distribution }}.yaml"
|
|
- "{{ ansible_os_family }}.yaml"
|
|
- "default.yaml"
|
|
|
|
- name: Validate podman engine
|
|
when: ensure_podman_validate
|
|
# on purpose to verify that non-root user can call docker/podman
|
|
become: false
|
|
shell: |
|
|
podman version
|
|
podman info
|
|
podman ps
|
|
changed_when: false
|