added creating new vps, fine tuned inventories (now using 2), + doc

This commit is contained in:
2024-11-11 19:28:55 +01:00
parent 9c4b80cb5b
commit 562fec8549
17 changed files with 161 additions and 70 deletions

View File

@@ -0,0 +1,19 @@
---
- name: Create server
hcloud_server:
name: "{{ hostname }}"
server_type: "{{ type }}"
image: "{{ image }}"
location: "{{ location }}"
enable_ipv4: false
state: present
ssh_keys: "{{ ssh_keys }}"
register: server
# - command: which python
# register: result
# - name: Install Packages
# community.general.pkgng:
# state: present
# name: "{{ packages }}"