1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/integration/targets/lookup_merge_variables/vars.yml
Roy Lenferink f52dd194f9
Add new merge_variables lookup plugin (#5533)
* Add new merge_variables lookup plugin

* Add changelog fragment

* Process bot feedback

* Refactor override options and add pattern_type option

* Fix unit tests

* Changed default pattern_type and simplified plugin based on feedback

* Processed feedback for merge_variables lookup plugin

* Adjust version_added.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-26 11:27:30 +02:00

34 lines
833 B
YAML

---
# Copyright (c) 2020, Thales Netherlands
# Copyright (c) 2021, 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
testlist_initial_value: "{{ testlist2 }}"
testlist1__merge_list:
- item1
testlist2:
- item2
testlist3__merge_list:
- item3
testdict1__merge_dict:
item1: test
list_item:
- test1
testdict2__merge_dict:
item2: test
list_item:
- test2
override_warn_init:
key_to_override: Initial value
override__override_warn:
key_to_override: Override value
override_error_init:
key_to_override: Initial value
override__override_error:
key_to_override: Override value
logging_output_file: /tmp/ansible-test-merge-variables # The Ansible log output is available in this file