community.general/plugins/inventory
Stein van Broekhoven 1243846c3a
Some checks failed
EOL CI / EOL Sanity (Ⓐ2.15) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Has been cancelled
import-galaxy / Test to import built collection artifact with Galaxy importer (push) Has been cancelled
Verify REUSE / check (push) Has been cancelled
improve ansible_host in proxmox inventory plugin (#9952)
* improve ansible_host in proxmox inventory plugin

I had this issue myself and found out there was already an issue thread:

https://github.com/ansible-collections/community.general/issues/5906

this fixes the issue for hope we can all benefit after this gets merged

* f string styling

* add log line for the successful address selection

* remove white space

* add changelog: 9952-proxmox-inventory-plugin-improve-ansible_host.yml

* Update changelogs/fragments/9952-proxmox-inventory-plugin-improve-ansible_host.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-04-16 20:52:53 +02:00
..
cobbler.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
gitlab_runners.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
icinga2.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
iocage.py Implement #9650 Add parameter hooks to inventory plugin iocage (#9651) 2025-02-11 18:05:27 +01:00
linode.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
lxd.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
nmap.py NMAP Inventory Plugin: Added option for specifying DNS servers for name resolution (#9849) 2025-03-15 07:37:31 +01:00
online.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
opennebula.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
proxmox.py improve ansible_host in proxmox inventory plugin (#9952) 2025-04-16 20:52:53 +02:00
scaleway.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
stackpath_compute.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
virtualbox.py connection/inventory: adjust import __future__ for Python3 (#9584) 2025-01-20 19:36:29 +01:00
xen_orchestra.py Allow Xen Host and/or Xen VM names instead of their UUIDs (#9787) 2025-02-24 06:09:51 +01:00