dotfiles/ansible/roles/packages/tasks/main.yml

18 lines
474 B
YAML
Raw Normal View History

2025-04-06 20:32:46 -05:00
- name: Load devpod variables if DEVPOD is true
2025-04-06 20:40:55 -05:00
include_vars: "{{ item }}"
with_first_found:
- "vars/devpod.yml"
2025-04-06 20:42:49 -05:00
when: DEVPOD
2025-04-06 20:32:46 -05:00
2025-04-06 20:44:49 -05:00
#- name: Load a variable file
# include_vars: "{{ item }}"
# with_first_found:
# - "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
# - "vars/{{ ansible_distribution }}.yml"
# - "vars/{{ ansible_os_family }}.yml"
# - "vars/defaults.yml"
# when: not DEVPOD
2025-04-06 20:13:27 -05:00
- name:
include_tasks: "defaults.yml"