Files
Ansible/inventory/hcloud.yml

22 lines
970 B
YAML

plugin: hcloud
token: !vault |
$ANSIBLE_VAULT;1.2;AES256;dtsv-dev
32383834663934356366623563663765633561363438633064363061636632333831303137383065
3936613361323135306363333265323036653063626662610a616563306166376331346333373066
63303536393931336234303634363437396337346264336338303862396366373830396231396635
3864336230623462350a373337633638643530666331656434363836663033616132373931383964
35656333626335356463316231393132393633383962386661613933656535313638326130616330
61366232373262383236623231376636653433616131623163666536383462373736313837646231
65333665343835323663383230626661346134343264636237313262396333623265336436353166
64386637316265323439
connect_with: public_ipv4
# Group by a location with prefix e.g. "hcloud_location_nbg1"
# and image_os_flavor without prefix and separator e.g. "ubuntu"
# and status with prefix e.g. "server_status_running"
keyed_groups:
- key: labels
prefix: label
- key: status
prefix: server_status