This commit is contained in:
ace
2023-06-10 08:04:09 +03:00
parent a251e593c6
commit 73f93631c2
4 changed files with 8 additions and 3 deletions

View File

@ -1,2 +1,2 @@
---
podman_version: "{{ '1.6.4' if ansible_facts['distribution_major_version'] == '7' else '4.0.2' if ansible_facts['distribution_major_version'] == '8' }}"
podman_version: "*"

View File

@ -1,5 +1,5 @@
---
- name: Ensure podman {{ podman_version }} installed
- name: Ensure podman installed
yum:
name: "podman-{{ podman_version }}"
state: present