Inventory needed to look up the env variable due to custom credential
This commit is contained in:
14
inventory/linode.yaml
Normal file
14
inventory/linode.yaml
Normal 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
|
||||||
|
|
Reference in New Issue
Block a user