fix loop
This commit is contained in:
parent
eef0060ef9
commit
9cc609c36f
@ -10,4 +10,11 @@
|
||||
- "{{ ansible_os_family | lower }}"
|
||||
|
||||
- name: Install packages
|
||||
import_tasks: "install/{{ ansible_distribution }}.yaml"
|
||||
include_tasks: "install/{{ item }}.yaml"
|
||||
with_first_found:
|
||||
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}"
|
||||
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}"
|
||||
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}"
|
||||
- "{{ ansible_distribution | lower }}"
|
||||
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_version.split('.')[0] }}"
|
||||
- "{{ ansible_os_family | lower }}"
|
Loading…
Reference in New Issue
Block a user