initial commit
This commit is contained in:
11
roles/server/tasks/main.yaml
Normal file
11
roles/server/tasks/main.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Create server
|
||||
hcloud_server:
|
||||
api_token: "{{ hcloud_token }}"
|
||||
name: "{{ hostname }}"
|
||||
server_type: "{{ type }}"
|
||||
image: "{{ image }}"
|
||||
location: ash
|
||||
enable_ipv4: false
|
||||
state: present
|
||||
register: server
|
||||
Reference in New Issue
Block a user