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
31356361383664343535323439323132663637313433396632663130393739373465316161343262
3862646238643562623161373930343236626338643265360a306665316533306130313162363965
38393130383133316534623464363263653366323237353565333136633039336361653638646131
6335313963656565630a643236393638663439346561616138616363333962653338383136313263
39616534353466373765363561643038313065336561363634373037643864323133363566613139
61336338656261303737613831616133383139656638306161656634653832656234616537653039
62326365316139653362306262396264653761326538373937616563306630393034366366643761
61633536646262303965