mirror of
https://gitea.0xace.cc/ansible-galaxy/podman.git
synced 2024-11-24 23:06:39 +00:00
add podman role
This commit is contained in:
commit
119d7fe089
2
defaults/main.yml
Normal file
2
defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
podman_version: "{{ '1.6.4' if ansible_distribution_major_version == '7' else '3.2.3' if ansible_distribution_major_version == '8' }}"
|
1
meta/main.yaml
Normal file
1
meta/main.yaml
Normal file
@ -0,0 +1 @@
|
||||
dependencies: []
|
5
tasks/RedHat.yaml
Normal file
5
tasks/RedHat.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: Ensure podman version {{ podman_version }} installed
|
||||
yum:
|
||||
name: "podman-{{ podman_version }}"
|
||||
state: present
|
3
tasks/main.yml
Normal file
3
tasks/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
- name: Include podman install
|
||||
include_tasks: "{{ ansible_os_family }}.yaml"
|
Loading…
Reference in New Issue
Block a user