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-devscr-netgo-hcloud.yml

28 lines
1.3 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: "devscr"
stage_kube: "devscr"
label_selector: "stage=devscr" # jinja isn't available here
api_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
32626561643030336665616664623834633232336364636466323765663062653063643637623862
3630393733653066633530343162363433313132326234310a663963623430636361393937616632
32316239663338306134623733333862616134623362613133333162353431666638333236613331
3934323934643539390a653731363530316330386663313038323665613463363061373962353438
61333461626263633235313737336434393431313132336264613763346630313065613465336331
35623031613938656136333265383461313961346533313266303561323735623838306239366439
36616163373461353532363963636163303033373334663364346333626235336339303037386438
39316430343966646563