Files
ewnix-automation/playbooks/tests/test_diff_inv_formats.yml

24 lines
644 B
YAML

# 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