deploy coolify
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 9m38s
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 9m38s
This commit is contained in:
22
infra/coolify/0001_initialise_playbook.yaml
Normal file
22
infra/coolify/0001_initialise_playbook.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
- name: Initialise VM
|
||||
hosts: coolify
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Wait for connection
|
||||
ansible.builtin.wait_for_connection:
|
||||
timeout: 300
|
||||
|
||||
- name: Install system packages
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
pkg:
|
||||
- qemu-guest-agent
|
||||
- parted
|
||||
become: true
|
||||
|
||||
- name: Enable qemu-guest-agent
|
||||
ansible.builtin.systemd:
|
||||
name: qemu-guest-agent
|
||||
state: started
|
||||
enabled: true
|
||||
become: true
|
||||
Reference in New Issue
Block a user