mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
b756728718
Update docsite chapter "Merging lists of dictionaries" (#8477)
* Update docs 'Merging lists of dictionaries'
* Adding links to module and plugin options in
docs/docsite/helper/lists_mergeby
* Add subsections and improve formatting.
* Add example-009 'Merge single list'
* Fix licenses.
* Fix variables.
* Update docs/docsite/helper/lists_mergeby/filter_guide_abstract_informations_merging_lists_of_dictionaries.rst.j2
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update docs/docsite/rst/filter_guide_abstract_informations_merging_lists_of_dictionaries.rst
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit ac3c04357c
)
Co-authored-by: Vladimir Botka <vbotka@gmail.com>
21 lines
503 B
YAML
21 lines
503 B
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
list1:
|
|
- name: myname01
|
|
param01:
|
|
x: default_value
|
|
y: default_value
|
|
list: [default_value]
|
|
- name: myname02
|
|
param01: [1, 1, 2, 3]
|
|
|
|
list2:
|
|
- name: myname01
|
|
param01:
|
|
y: patch_value
|
|
z: patch_value
|
|
list: [patch_value]
|
|
- name: myname02
|
|
param01: [3, 4, 4]
|