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-qanso-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: "qanso"
stage_kube: "qanso"
label_selector: "stage=qanso" # jinja isn't available here
api_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
32636130396163333836626331616330616263383837633762663234376336346436313930336430
3031343164383966396662653332313630313265323066630a343963643837393934323333613364
39623861383132633737626130613336653163346437346563363731303239373066363466363930
3237366534623463380a373761326164616532306137626631656462356464383963663562346136
66303933663462343632393565323436373436646438323936653136616439313038383563356637
38373538356431373036373961343765333665613865373234313138376463393832653632616163
32653863333734633338656531646664376263373663316438663538663737643135633032376466
61666533656439383936