You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/stage-devnso-netgo-hcloud.yml

28 lines
1.2 KiB
YAML

# dynamic inventory for hetzner which reads the stage variable from environment
#
# parameters:
# HETZNER_CLOUD_TOKEN := hetzner cloud api token
# HETZNER_LABEL_SELECTOR := the label selector to use (note: multiple selectors are not supported by rest api)
# (e.g. stage=devnso)
# (e.g. service=prometheus)
# usage:
# export HETZNER_LABEL_SELECTOR='stage=devnso'
# ansible-playbook -i stage-netgo-hcloud.yml ...
plugin: netgo-hcloud
stage: "devnso"
stage_kube: "devnso"
label_selector: "stage=devnso" # jinja isn't available here
api_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
64396635656364646630613665333436303030376166393662383039363363633437306332323131
3935653131323863326563363139663732306230323937310a373036333837653063386365643964
62336134666163346362343961653234386363613763393033336430303233616235643466656161
3631663838633739360a636633623237643263376162623838333032613532623932356562663265
66353065383766326137376532653839373437623663633633373439636131636633643038323533
66363938333364316539353131613732333365343432636363633230316633666439303439323336
32333032646636353765643836346439323662313763363961303964383130666135626639353831
30393331623435363464