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/plugins
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
..
action Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
become machinectl become plugin: mark as require_tty (#6935) 2023-07-15 12:53:59 +02:00
cache Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
callback [PR #8222/524d5883 backport][stable-8] Avoid deprecated utcnow() (#8243) 2024-04-20 10:21:02 +02:00
connection [PR #7873/13e3161f backport][stable-8] Refer to LXD containers/VMs as instances (#7891) 2024-01-24 19:49:01 +01:00
doc_fragments [PR #7897/afd19888 backport][stable-8] Consul action group (#7905) 2024-01-27 12:21:34 +01:00
filter [PR #8185/9307b76e backport][stable-8] fix: Ensuring interpolation is disabled for ConfigParser (#8210) 2024-04-09 12:28:37 +02:00
inventory [PR #8225/7fd37ea2 backport][stable-8] inventory plugins: make wrapping variables as unsafe smarter to avoid triggering an AWX bug (#8246) 2024-04-20 10:20:32 +02:00
lookup [PR #8303/136419c5 backport][stable-8] bug(lookup/merge_variables): Fix rendering foreign variables (#8338) 2024-05-11 17:11:18 +02:00
module_utils [PR #8252/a5697da2 backport][stable-8] Keycloak client role scope (#8266) 2024-04-21 20:39:47 +02:00
modules [PR #8310/cb985b31 backport][stable-8] docs(gitlab_runner): improve docs and add examples (#8333) 2024-05-10 15:31:12 +02:00
plugin_utils [PR #8225/7fd37ea2 backport][stable-8] inventory plugins: make wrapping variables as unsafe smarter to avoid triggering an AWX bug (#8246) 2024-04-20 10:20:32 +02:00
test [PR #7533/2a5e7c33 backport][stable-8] Add test fqdn_valid (#7567) 2023-11-22 09:26:17 +01:00