mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-09-08 21:27:36 +02:00
17 lines
448 B
YAML
Executable File
17 lines
448 B
YAML
Executable File
- name: Include vault
|
|
ansible.builtin.include_vars:
|
|
file: jaydee.yml
|
|
|
|
- name: Facts
|
|
ansible.builtin.setup:
|
|
when: ansible_facts.architecture is not defined
|
|
|
|
- name: Include common tasks
|
|
ansible.builtin.include_tasks: "common.yml"
|
|
|
|
- name: Print os_family
|
|
ansible.builtin.debug:
|
|
msg: "OS Family: {{ ansible_distribution }}"
|
|
|
|
- name: Include OS-specific tasks
|
|
ansible.builtin.include_tasks: "{{ ansible_distribution }}.yml" |