mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
Fix duplicate dict key warning in bootstrap_os task includes (#12488)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
This commit is contained in:
@@ -16,8 +16,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- facts
|
- facts
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- &search
|
- files: &search_files
|
||||||
files:
|
|
||||||
- "{{ os_release_dict['ID'] }}-{{ os_release_dict['VARIANT_ID'] }}.yml"
|
- "{{ os_release_dict['ID'] }}-{{ os_release_dict['VARIANT_ID'] }}.yml"
|
||||||
- "{{ os_release_dict['ID'] }}.yml"
|
- "{{ os_release_dict['ID'] }}.yml"
|
||||||
paths:
|
paths:
|
||||||
@@ -26,8 +25,8 @@
|
|||||||
- name: Include tasks
|
- name: Include tasks
|
||||||
include_tasks: "{{ included_tasks_file }}"
|
include_tasks: "{{ included_tasks_file }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- <<: *search
|
- files: *search_files
|
||||||
paths: []
|
skip: true
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: included_tasks_file
|
loop_var: included_tasks_file
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user