Browse Source
Fix duplicate dict key warning in bootstrap_os task includes (#12488)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
pull/12507/head
Ali Afsharzadeh
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
4 deletions
-
roles/bootstrap_os/tasks/main.yml
|
|
@ -16,8 +16,7 @@ |
|
|
|
tags: |
|
|
|
- facts |
|
|
|
with_first_found: |
|
|
|
- &search |
|
|
|
files: |
|
|
|
- files: &search_files |
|
|
|
- "{{ os_release_dict['ID'] }}-{{ os_release_dict['VARIANT_ID'] }}.yml" |
|
|
|
- "{{ os_release_dict['ID'] }}.yml" |
|
|
|
paths: |
|
|
@ -26,8 +25,8 @@ |
|
|
|
- name: Include tasks |
|
|
|
include_tasks: "{{ included_tasks_file }}" |
|
|
|
with_first_found: |
|
|
|
- <<: *search |
|
|
|
paths: [] |
|
|
|
- files: *search_files |
|
|
|
skip: true |
|
|
|
loop_control: |
|
|
|
loop_var: included_tasks_file |
|
|
|
|
|
|
|