20 lines
403 B
YAML
Raw Normal View History

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