commit baa6d0513d
Author: Robert Kaussow <mail@geeklabor.de> Date: Sat Oct 10 13:00:22 2020 +0200 add global defaults
This commit is contained in:
parent
23b7bd3cc8
commit
fb992c24dc
49
index.md
49
index.md
@ -10,7 +10,11 @@ Manage Hetzner Cloud server instances
|
||||
* [Default Variables](#default-variables)
|
||||
* [hcloud_server](#hcloud_server)
|
||||
* [hcloud_server_default_api_token](#hcloud_server_default_api_token)
|
||||
* [hcloud_server_default_backup](#hcloud_server_default_backup)
|
||||
* [hcloud_server_default_image](#hcloud_server_default_image)
|
||||
* [hcloud_server_default_location](#hcloud_server_default_location)
|
||||
* [hcloud_server_default_protection](#hcloud_server_default_protection)
|
||||
* [hcloud_server_default_ssh_keys](#hcloud_server_default_ssh_keys)
|
||||
* [hcloud_server_rdns](#hcloud_server_rdns)
|
||||
* [hcloud_server_volumes](#hcloud_server_volumes)
|
||||
* [Dependencies](#dependencies)
|
||||
@ -33,11 +37,14 @@ hcloud_server: {}
|
||||
hcloud_server:
|
||||
name: my-server
|
||||
type: cx11
|
||||
ssh_keys: []
|
||||
image:
|
||||
location: "{{ hcloud_server_location }}"
|
||||
datacenter: "{{ hcloud_server_datacenter }}"
|
||||
api_token: "{{ hcloud_server_api_token | default(omit) }}"
|
||||
ssh_keys: "{{ hcloud_server_default_ssh_keys }}"
|
||||
image: "{{ hcloud_server_default_image }}"
|
||||
location: "{{ hcloud_server_default_location }}"
|
||||
backup: "{{ hcloud_server_default_backup }}"
|
||||
protection: "{{ hcloud_server_default_protection }}"
|
||||
api_token: "{{ hcloud_server_default_api_token }}"
|
||||
labels:
|
||||
os: redhat
|
||||
```
|
||||
|
||||
### hcloud_server_default_api_token
|
||||
@ -48,6 +55,14 @@ hcloud_server:
|
||||
hcloud_server_default_api_token: _unset_
|
||||
```
|
||||
|
||||
### hcloud_server_default_backup
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
hcloud_server_default_backup: false
|
||||
```
|
||||
|
||||
### hcloud_server_default_image
|
||||
|
||||
#### Default value
|
||||
@ -56,6 +71,30 @@ hcloud_server_default_api_token: _unset_
|
||||
hcloud_server_default_image: centos-7
|
||||
```
|
||||
|
||||
### hcloud_server_default_location
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
hcloud_server_default_location: nbg1
|
||||
```
|
||||
|
||||
### hcloud_server_default_protection
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
hcloud_server_default_protection: false
|
||||
```
|
||||
|
||||
### hcloud_server_default_ssh_keys
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
hcloud_server_default_ssh_keys: []
|
||||
```
|
||||
|
||||
### hcloud_server_rdns
|
||||
|
||||
#### Default value
|
||||
|
Loading…
Reference in New Issue
Block a user