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/unit/plugins/lookup
patchback[bot] 01a54bba2f
[PR #8303/136419c5 backport][stable-8] bug(lookup/merge_variables): Fix rendering foreign variables (#8338)
bug(lookup/merge_variables): Fix rendering foreign variables (#8303)

* manually prepare variables of foreign host including hostvars property

* render variables from context of current host

* add integration test for cross host merge

* lint fixes

* adjust cross host merge unit tests to provide a tiny bit of the HostVars Class API

* add license information

* lint

* add changelog fragment

* Update tests/integration/targets/lookup_merge_variables/test_cross_host_merge_play.yml

Okay

Co-authored-by: Mark <40321020+m-a-r-k-e@users.noreply.github.com>

* Update tests/integration/targets/lookup_merge_variables/test_cross_host_merge_play.yml

Okay

Co-authored-by: Mark <40321020+m-a-r-k-e@users.noreply.github.com>

* Update tests/integration/targets/lookup_merge_variables/test_cross_host_merge_play.yml

Okay

Co-authored-by: Mark <40321020+m-a-r-k-e@users.noreply.github.com>

* rename _HostVars to HostVarsMock

* removing unnecessary task

---------

Co-authored-by: Gitlab CI <alexander.petrenz@posteo.de>
Co-authored-by: Mark <40321020+m-a-r-k-e@users.noreply.github.com>
(cherry picked from commit 136419c5c0)

Co-authored-by: Alexander Petrenz <petrenz.a@gmail.com>
2024-05-11 17:11:18 +02:00
..
onepassword_fixtures [PR #7919/6088e2dc backport][stable-8] fixes #7918 - onepassword lookup fails if field name contains uppercase letters and section is specified (#7975) 2024-02-17 12:29:48 +01:00
conftest.py [PR #7490/e0346d40 backport][stable-8] Add onepassword_doc lookup plugin (#7617) 2023-11-26 21:45:42 +01:00
onepassword_common.py [PR #7919/6088e2dc backport][stable-8] fixes #7918 - onepassword lookup fails if field name contains uppercase letters and section is specified (#7975) 2024-02-17 12:29:48 +01:00
test_bitwarden.py [PR #8188/865de5ba backport][stable-8] bitwarden - add support for filtering by organization_id (#8249) 2024-04-20 14:29:33 +02:00
test_bitwarden_secrets_manager.py Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
test_dependent.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
test_dsv.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
test_etcd3.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_github_app_access_token.py [PR #7761/33180344 backport][stable-8] Add github_app_access_token lookup plugin (#7802) 2023-12-31 15:44:00 +01:00
test_lastpass.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_manifold.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_merge_variables.py [PR #8303/136419c5 backport][stable-8] bug(lookup/merge_variables): Fix rendering foreign variables (#8338) 2024-05-11 17:11:18 +02:00
test_onepassword.py [PR #7490/e0346d40 backport][stable-8] Add onepassword_doc lookup plugin (#7617) 2023-11-26 21:45:42 +01:00
test_revbitspss.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
test_tss.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00