Inventory needed to look up the env variable due to custom credential

This commit is contained in:
2025-05-10 23:45:25 -05:00
parent fab91b22cc
commit adf16d3db8

14
inventory/linode.yaml Normal file
View File

@@ -0,0 +1,14 @@
plugin: linode.cloud.linode
token: "{{ lookup('env', 'LINODE_TOKEN') }}"
keyed_groups:
- prefix: tag
key: tags
- prefix: region
key: region
- prefix: type
key: type
hostnames:
- label
compose:
ansible_host: ipv4