# Silly (?) inventory problem

**URL:** <https://forum.ansible.com/t/silly-inventory-problem/37560>\
**Category:** Ansible Project\
**Created:** [January 18, 2023, 1:05pm UTC](https://forum.ansible.com/t/silly-inventory-problem/37560 "2023-01-18T13:05:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Norbert\_Klamann](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Norbert\_Klamann](https://forum.ansible.com/u/Norbert_Klamann)\
**Post date:** [January 18, 2023, 1:05pm UTC](https://forum.ansible.com/t/silly-inventory-problem/37560/1 "2023-01-18T13:05:18Z")

</div>

Hello all,  
i want to use the ’ community.general.proxmox’ inventory.

I call its in this way and get some errors which I do not understand:

```auto

nsible-inventory -i inventory/local.proxmox.yaml --list
/home/norbert/.local/lib/python3.9/site-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.10.1.11'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
[WARNING]: * Failed to parse /mnt/i/ansible/play/inventory/local.proxmox.yaml with auto plugin: 'NoneType' object is not subscriptable
[WARNING]: * Failed to parse /mnt/i/ansible/play/inventory/local.proxmox.yaml with yaml plugin: Plugin configuration YAML file, not YAML inventory
[WARNING]: * Failed to parse /mnt/i/ansible/play/inventory/local.proxmox.yaml with ini plugin: Invalid host pattern 'plugin:' supplied, ending in ':' is not allowed, this character is reserved to
provide a port.
[WARNING]: Unable to parse /mnt/i/ansible/play/inventory/local.proxmox.yaml as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
{
"_meta": {
"hostvars": {}
},
"all": {
"children": [
"ungrouped"
]
}
}

```

The file looks like this:

```auto
plugin: community.general.proxmox
url: "https://10.10.1.11:8006"
user: "Ansible@pam"
password: Ansible
validate_certs: false

```

What am I doin wrong here ?

Thanks a lot

Norbert

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [January 24, 2023, 3:47pm UTC](https://forum.ansible.com/t/silly-inventory-problem/37560/2 "2023-01-24T15:47:57Z")

</div>

Use -vvv, to get the full error, the 'auto' plugin normally loads  
whatever is defined in the 'plugin' field in the config, but its  
showing:

---

<div class="post-metadata">

**Author:** ![Norbert\_Klamann](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Norbert\_Klamann](https://forum.ansible.com/u/Norbert_Klamann)\
**Post date:** [January 25, 2023, 12:43pm UTC](https://forum.ansible.com/t/silly-inventory-problem/37560/3 "2023-01-25T12:43:50Z")

</div>

Problem was that the combination user, token-id, token\_secret was invalid.
