mirror of
https://gitea.0xace.cc/ansible-galaxy/podman.git
synced 2024-11-25 07:16:39 +00:00
14 lines
363 B
YAML
14 lines
363 B
YAML
---
|
|
- 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"
|