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

24 lines
1.1 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=dev'
# ansible-playbook -i stage-netgo-hcloud.yml ...
plugin: netgo-hcloud
api_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
61353364633862333333623664376666363464386461646131616465356534393935383132653730
3166333033326265356565646431326431336533656434620a626336333234303062323930363562
39656365663139343863646466343938313064653935646462333163343363656438656334316263
6132653139313530630a613037643634326231623733393432633163666139306138623837646231
61316362396566656430363539333137356464663038313334306634633431363237303736356134
61393836656634336231616338633265393638633763626632633066313461333736666436373338
39653732393838643261343730323666373736386662623236343133373762663630653735613130
36636230623930336465