initial ansible code
This commit is contained in:
21
inventory/hcloud.yml
Normal file
21
inventory/hcloud.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
plugin: hcloud
|
||||
token: !vault |
|
||||
$ANSIBLE_VAULT;1.2;AES256;dtsv-dev
|
||||
34663466303439366438333433393130326337383265643332316333336331306461303330356131
|
||||
3965396464356466373466313037306638396130633130370a643639363964636630633062333261
|
||||
66653764326538393934396537626463356162376661333635663563303465633537343030353435
|
||||
3533646561663736390a613666643565313838343636646265373735386464613533306437326261
|
||||
32616235396138306335373466303337666330383633666663653162613736386132383132346333
|
||||
32613539313165366363363633356463356539363561396365626435343139336266656362313536
|
||||
63386239383362636231633138333136383339336662623331393530613034663664663164353364
|
||||
34636138383365633862
|
||||
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
|
||||
Reference in New Issue
Block a user