Robert Kaussow
ec1947d9cc
Author: Robert Kaussow <mail@geeklabor.de> Date: Sun Mar 28 13:02:30 2021 +0200 feat: add task to attach host to local networks
2.9 KiB
2.9 KiB
title | type |
---|---|
hcloud_server | docs |
Manage Hetzner Cloud server instances
Default Variables
hcloud_server
Default value
hcloud_server: {}
Example usage
hcloud_server:
name: my-server
type: cx11
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
Default value
hcloud_server_default_api_token: _unset_
hcloud_server_default_backup
Default value
hcloud_server_default_backup: false
hcloud_server_default_image
Default value
hcloud_server_default_image: centos-7
hcloud_server_default_location
Default value
hcloud_server_default_location: nbg1
hcloud_server_default_protection
Default value
hcloud_server_default_protection: false
hcloud_server_default_ssh_keys
Default value
hcloud_server_default_ssh_keys: []
hcloud_server_networks
Default value
hcloud_server_networks: []
Example usage
hcloud_server_networks:
- name: network-1
ip: 10.0.0.1
state: present
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.