You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
py3-netaddr missing in plugin? i'm having trouble to use a dynamic inventory. The community.general.proxmox inventory would not parse the ip addresses from my proxmox host when i'm trying to use the compose function in the inventory script.
example:
url: ""
user: ""
password: ""
want_facts: true
keyed_groups:
# proxmox_tags_parsed is an example of a fact only returned when 'want_facts=true'
- key: proxmox_tags_parsed
separator: ";"
prefix: group
groups:
alpine: "'alpine' in (proxmox_tags_parsed|list)"
compose:
ansible_host: "proxmox_agent_interfaces | selectattr('name', 'equalto', 'eth0') | map(attribute='ip-addresses') | flatten | first | ansible.utils.ipaddr('address')"
want_proxmox_nodes_ansible_host: true
the result without netaddr installed when running ansible-inventory -i inventory.proxmox.yml --list
py3-netaddr missing in plugin? i'm having trouble to use a dynamic inventory. The community.general.proxmox inventory would not parse the ip addresses from my proxmox host when i'm trying to use the compose function in the inventory script.
example:
the result without netaddr installed when running ansible-inventory -i inventory.proxmox.yml --list
after i installed the py3-netaddr with apk add py3-netaddr
Is there a way to add this with out running the commands: function in drone.yml or should this be added to the plugin?
The text was updated successfully, but these errors were encountered: