podman/tasks/main.yaml

14 lines
363 B
YAML
Raw Normal View History

---
2024-01-04 10:54:34 +00:00
- name: Load a variable file based on the OS type
include_vars: "{{ lookup('first_found', params) }}"
vars:
params:
files:
- "{{ ansible_facts['distribution'] }}.yaml"
- "{{ ansible_facts['os_family'] }}.yaml"
paths:
- "vars"
- name: Include podman install
include_tasks: "{{ ansible_facts['os_family'] }}.yaml"