mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 08:01:24 -07:00
fix lxd connection plugin inventory_hostname (#4912)
* fixes lxd connection plugin issue #4886 remote_addr value was set to literal string 'inventory_hostname' instead of the value for inventory_hostname variable. solution found in PR ansible/ansible#77894 * changelog fragment - bugfix - lxd connection plugin * correct changelog fragment * Update changelogs/fragments/4886-fix-lxd-inventory-hostname.yml Co-authored-by: Felix Fontein <felix@fontein.de> * replace _host instance variable with calls to get 'remote_addr' option suggested by felixfontein Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
1c06e237c8
commit
905f9ec399
2 changed files with 9 additions and 7 deletions
2
changelogs/fragments/4886-fix-lxd-inventory-hostname.yml
Normal file
2
changelogs/fragments/4886-fix-lxd-inventory-hostname.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "lxd connection plugin - fix incorrect ``inventory_hostname`` in ``remote_addr``. This is needed for compatibility with ansible-core 2.13 (https://github.com/ansible-collections/community.general/issues/4886)."
|
Loading…
Add table
Add a link
Reference in a new issue