Author: Robert Kaussow <mail@geeklabor.de>
Date:   Tue May 19 22:57:51 2020 +0200

    fix api token vars
This commit is contained in:
Robert Kaussow 2020-05-19 20:58:13 +00:00
parent d45f3f5d6e
commit 98dae9624c

View File

@ -10,6 +10,7 @@ Manage Hetzner Cloud server instances
* [Default Variables](#default-variables) * [Default Variables](#default-variables)
* [hcloud_server](#hcloud-server) * [hcloud_server](#hcloud-server)
* [hcloud_server_default_api_token](#hcloud-server-default-api-token) * [hcloud_server_default_api_token](#hcloud-server-default-api-token)
* [hcloud_server_default_image](#hcloud-server-default-image)
* [hcloud_server_rdns](#hcloud-server-rdns) * [hcloud_server_rdns](#hcloud-server-rdns)
* [hcloud_server_volumes](#hcloud-server-volumes) * [hcloud_server_volumes](#hcloud-server-volumes)
* [Dependencies](#dependencies) * [Dependencies](#dependencies)
@ -34,9 +35,9 @@ hcloud_server:
type: cx11 type: cx11
ssh_keys: [] ssh_keys: []
image: image:
location: "{{ hcloud_server_location }}" location: "{{ hcloud_server_location }}"
datacenter: "{{ hcloud_server_datacenter }}" datacenter: "{{ hcloud_server_datacenter }}"
api_token: "{{ hcloud_server_api_token | default(omit) }}" api_token: "{{ hcloud_server_api_token | default(omit) }}"
``` ```
### hcloud_server_default_api_token ### hcloud_server_default_api_token
@ -47,6 +48,14 @@ hcloud_server:
hcloud_server_default_api_token: _unset_ hcloud_server_default_api_token: _unset_
``` ```
### hcloud_server_default_image
#### Default value
```YAML
hcloud_server_default_image: centos-7
```
### hcloud_server_rdns ### hcloud_server_rdns
#### Default value #### Default value