Fix deprecated includes
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
---
|
||||
#- name: gather OS specific variables
|
||||
# include_vars: "{{ item }}"
|
||||
# ansible.builtin.include_vars: "{{ item }}"
|
||||
# with_first_found:
|
||||
# - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||
# - "{{ ansible_distribution }}.yaml"
|
||||
# - "{{ ansible_os_family }}.yaml"
|
||||
|
||||
- name: run os specific tasks
|
||||
include: "{{ item }}"
|
||||
ansible.builtin.include_tasks: "{{ item }}"
|
||||
with_first_found:
|
||||
- "{{ ansible_os_family }}.yaml"
|
||||
|
||||
|
Reference in New Issue
Block a user