This commit is contained in:
2026-03-14 18:25:44 +01:00
parent a2f75cdafd
commit 99fc6ba04c
19 changed files with 703 additions and 0 deletions

73
defaults/main.yml Normal file
View File

@@ -0,0 +1,73 @@
---
# defaults file for lsa.n8n
n8n: true
n8n_default_user: "n8n"
n8n_default_group: "n8n"
n8n_default_path: "/srv/n8n"
n8n_default_host: "localhost"
n8n_default_protocol: "http"
n8n_default_port: 5678
n8n_default_timezone: "UTC"
n8n_default_image: "n8nio/n8n:latest"
n8n_default_docker_uid: "1000"
n8n_default_docker_gid: "1000"
n8n_default_repo: "https://github.com/n8n-io/n8n.git"
n8n_default_repo_version: "master"
n8n_default_build_command: "pnpm build"
n8n_default_start_command: "pnpm start"
n8n_default_package_name: "n8n"
n8n_default_package_version: "latest"
n8n_default_package_bin: "/usr/bin/n8n"
n8n_default_db:
host: "127.0.0.1"
port: 5432
name: "n8n"
user: "n8n"
password: "change-me"
type: "postgres"
n8n_sites: []
# n8n_sites:
# - name: "n8n"
# deploy_type: "package" # docker, repo, package
# path: "/srv/n8n"
# systemd: true
# state: "present"
# db:
# host: "127.0.0.1"
# port: 5432
# name: "n8n"
# user: "n8n"
# password: "secret"
# type: "postgres"
# app_options:
# host: "n8n.example.com"
# port: 5678
# protocol: "https"
# webhook_url: "https://n8n.example.com/"
# timezone: "UTC"
# repo_path: "https://github.com/n8n-io/n8n.git"
# repo_version: "master"
# build_command: "pnpm build"
# start_command: "pnpm start"
# package_name: "n8n"
# package_version: "latest"
# package_bin: "/usr/bin/n8n"
# clean_path: false
# docker_options:
# image: "n8nio/n8n:latest"
# listen_port: 5678
# uid: "1000"
# gid: "1000"
n8n_readme: true
n8n_readme_mode: "0640"
n8n_readme_path: "/etc/ansible/readme/"