Add more tests to see wtf is going wrong here..

This commit is contained in:
2025-08-07 21:34:20 -05:00
parent 18f49ceed8
commit ffe68073f7
3 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# Try 1: Full collection path - inventory/test1.yml
---
plugin: ansible_collections.linode.cloud.plugins.inventory.inventory
access_token: "{{ lookup('env', 'LINODE_API_TOKEN') }}"
compose:
ansible_host: ipv4[0]
ansible_user: phlux
---
# Try 2: Just the collection name - inventory/test2.yml
plugin: linode.cloud.inventory
access_token: "{{ lookup('env', 'LINODE_API_TOKEN') }}"
compose:
ansible_host: ipv4[0]
ansible_user: phlux
---
# Try 3: Community general version - inventory/test3.yml
plugin: community.general.linode
api_token: "{{ lookup('env', 'LINODE_API_TOKEN') }}"
compose:
ansible_host: ipv4[0]
ansible_user: phlux