mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-10 06:04:15 +00:00
🐛 Fix n8n permissions on data volume
This commit is contained in:
parent
9708c934f1
commit
6a285d7b99
3 changed files with 14 additions and 1 deletions
|
@ -15,7 +15,7 @@ n8n_basic_auth_password: "n8n_change_me"
|
|||
|
||||
# docker
|
||||
n8n_container_name: "n8n"
|
||||
n8n_image_name: "n8nio/n8n"
|
||||
n8n_image_name: "docker.n8n.io/n8nio/n8n"
|
||||
n8n_image_version: "latest"
|
||||
|
||||
# specs
|
||||
|
|
|
@ -1,6 +1,17 @@
|
|||
---
|
||||
platforms:
|
||||
- name: instance
|
||||
image: geerlingguy/docker-ubuntu2204-ansible:latest
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /tmp:/tmp:rw
|
||||
privileged: true
|
||||
pre_build_image: true
|
||||
|
||||
provisioner:
|
||||
inventory:
|
||||
group_vars:
|
||||
all:
|
||||
n8n_enabled: true
|
||||
n8n_data_directory: "/tmp/n8n"
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: 1000
|
||||
group: 1000
|
||||
with_items:
|
||||
- "{{ n8n_data_directory }}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue