ea7910bbb2
Change-Id: I907614e2b1a74930483cff80823c4be31c38484f
20 lines
547 B
YAML
20 lines
547 B
YAML
- name: Find distribution installation
|
|
include_tasks: "{{ zj_distro_os }}"
|
|
with_first_found:
|
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
|
- "{{ ansible_distribution }}.yaml"
|
|
- "{{ ansible_os_family }}.yaml"
|
|
- "default.yaml"
|
|
loop_control:
|
|
loop_var: zj_distro_os
|
|
|
|
- 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
|