xoxys.hcloud_server/index.md
Robert Kaussow 23b7bd3cc8 commit 41d1b60379
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Thu Jun 4 15:15:58 2020 +0200

    fix link to the license file
2020-06-04 13:37:42 +00:00

1.9 KiB

title type
hcloud_server docs

Source Code Build Status License: MIT

Manage Hetzner Cloud server instances


Default Variables

hcloud_server

Default value

hcloud_server: {}

Example usage

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) }}"

hcloud_server_default_api_token

Default value

hcloud_server_default_api_token: _unset_

hcloud_server_default_image

Default value

hcloud_server_default_image: centos-7

hcloud_server_rdns

Default value

hcloud_server_rdns: []

Example usage

hcloud_server_rdns:
  - addr: 1.2.3.4
    ptr: example.com
    state: present

hcloud_server_volumes

Default value

hcloud_server_volumes: []

Example usage

hcloud_server_volumes:
  - name: my-volume
    size: 10
    state: present

Dependencies

None.