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-demompmx-netgo-hcloud...

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=dev)
# (e.g. service=prometheus)
# usage:
# export HETZNER_LABEL_SELECTOR='stage=devnso'
# ansible-playbook -i stage-netgo-hcloud.yml ...
plugin: netgo-hcloud
stage: "demompmx"
stage_kube: "demompmx"
label_selector: "stage=demompmx" # jinja isn't available here
api_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
39303965386162383339613561656361373664346630393564356166396162633139623566656437
3038393963303063353037653163313363336432363834320a323530393562333135626166393039
66336361333732643339643934666233653033333133636239303133316331353134623938616134
3536633866623736380a366330353039643135313239393738626334623335306131363437353635
62643532336539306334646366393936356438353731396665626365353865656266386336393234
36393539303336323334633262646239396563663530376334653835306338316464303266343561
34643763623264333934656536353037326564326161643738656462383964633965393738626664
30366239353964643462