AWX can't find the inv formats test??
This commit is contained in:
23
playbooks/tests/inv_formats.yml
Normal file
23
playbooks/tests/inv_formats.yml
Normal 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
|
Reference in New Issue
Block a user