15 lines
403 B
YAML
15 lines
403 B
YAML
---
|
|
- name: Include OS specific vars
|
|
ansible.builtin.include_vars: "{{ ansible_os_family | lower }}.yml"
|
|
- name: Setup vim
|
|
ansible.builtin.import_tasks: setup.yml
|
|
- name: Setum vimrc
|
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
|
vars:
|
|
params:
|
|
files:
|
|
- "configure_{{ ansible_os_family | lower }}.yml"
|
|
paths:
|
|
- "tasks"
|
|
errors: "ignore"
|