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
Alexander Petrenz 136419c5c0
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>
2024-05-11 16:51:51 +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 Avoid deprecated utcnow() (#8222) 2024-04-20 09:26:08 +02:00
connection Refer to LXD containers/VMs as instances (#7873) 2024-01-24 13:35:17 +01:00
doc_fragments [9.0.0] Remove deprecated modules and features (#8198) 2024-04-22 18:28:22 +02:00
filter fix: Ensuring interpolation is disabled for ConfigParser (#8185) 2024-04-09 08:01:44 +02:00
inventory inventory plugins: make wrapping variables as unsafe smarter to avoid triggering an AWX bug (#8225) 2024-04-20 09:39:42 +02:00
lookup bug(lookup/merge_variables): Fix rendering foreign variables (#8303) 2024-05-11 16:51:51 +02:00
module_utils 8281: puppet waitforlock (#8282) 2024-05-04 15:26:56 +02:00
modules docs(gitlab_runner): improve docs and add examples (#8310) 2024-05-10 15:15:18 +02:00
plugin_utils inventory plugins: make wrapping variables as unsafe smarter to avoid triggering an AWX bug (#8225) 2024-04-20 09:39:42 +02:00
test Add test fqdn_valid (#7533) 2023-11-22 09:12:00 +01:00