yamllint fixes

This commit is contained in:
2022-04-03 13:20:47 +12:00
parent 4b41ea1a10
commit 8925c556d6
8 changed files with 54 additions and 46 deletions

View File

@@ -1,9 +1,9 @@
---
- name: Include tasks only if one of the files exist, otherwise skip the task
include_tasks: '{{ item }}'
include_tasks: "{{ item }}"
vars:
params:
files:
- '{{ ansible_os_family }}.yml'
- 'common.yml'
- "{{ ansible_os_family }}.yml"
- "common.yml"
loop: "{{ q('first_found', params, errors='ignore') }}"