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-devssp-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: "devssp"
stage_kube: "devssp"
label_selector: "stage=devssp" # jinja isn't available here
api_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
35313431653436643930646130336537326461343038303866303834306366626666383165643237
6130646665333632313264303132353835393638363537630a323934633261386561643139653331
36376465646239663432333264653162373838643761333039306536313963633163366538613961
3431313864623537310a323432616231306161356131633966623739383864343735386632643062
61663932626132356166393138383766313938656339333039353166356333666632386162653465
64646237613763623365353730353563666133343331393638316362396636633236626237346332
30666530336632343230616335313761323162313561623964356134353863663164363537396531
39613064306131393766