mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
fix: Add missing tasks to prepare uberspace host for payload CMS
This commit is contained in:
@@ -22,5 +22,16 @@
|
|||||||
mode: "744"
|
mode: "744"
|
||||||
- name: Set node version
|
- name: Set node version
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "uberspace tools use node {{ node_version }}"
|
cmd: "uberspace tools version use node {{ node_version }}"
|
||||||
cwd: /home/{{ ssh_user }}
|
chdir: /home/{{ ssh_user }}
|
||||||
|
- name: Create payload directory
|
||||||
|
ansible.builtin.file:
|
||||||
|
state: directory
|
||||||
|
path: /home/{{ ssh_user }}/payload
|
||||||
|
owner: "{{ ssh_user }}"
|
||||||
|
group: "{{ ssh_user }}"
|
||||||
|
mode: "755"
|
||||||
|
- name: Load Payload service
|
||||||
|
community.general.supervisorctl:
|
||||||
|
state: present
|
||||||
|
name: payload
|
||||||
Reference in New Issue
Block a user