Update to 2022-05-02 12:00

This commit is contained in:
Daniel Berteaud 2022-05-02 12:00:10 +02:00
parent 986d08e74a
commit 25870ef6bb
4 changed files with 32 additions and 4 deletions

View File

@ -1,7 +1,7 @@
---
# Version to deploy
n8n_version: 0.145.0
n8n_version: 0.174.0
# Root directory where n8n will be installed
n8n_root_dir: /opt/n8n
# User account under which n8n will run
@ -64,3 +64,16 @@ n8n_mem_limit: 2048
# n8n_env_var:
# NODE_FUNCTION_ALLOW_BUILTIN: request-promise-native
n8n_env_var: {}
# Should user management be enabled ?
# If False, n8n editor will be accessible wihtout authentication at all
# so be sure to protect it by other mean (eg, at the reverse proxy level)
n8n_user_management: True
# SMTP settings
n8n_smtp_server: localhost
n8n_smtp_port: 25
#n8n_smtp_user: n8n@example.org
#n8n_smtp_pass: S3cr3t.
n8n_smtp_sender: n8n-noreply@{{ ansible_domain }}
n8n_smtp_ssl: False

View File

@ -2,5 +2,6 @@
dependencies:
- role: repo_nodejs
- role: redis_server
- role: mysql_server
when: n8n_db_server in ['localhost','127.0.0.1']

View File

@ -1,6 +1,6 @@
N8N_CONFIG_FILES={{ n8n_root_dir }}/etc/n8n.json
N8N_USER_FOLDER={{ n8n_root_dir }}/data
WEBHOOK_TUNNEL_URL={{ n8n_public_url }}
WEBHOOK_URL={{ n8n_public_url }}
VUE_APP_URL_BASE_API={{ n8n_public_url }}
N8N_ENCRYPTION_KEY={{ n8n_secret_key | quote }}
EXECUTIONS_DATA_PRUNE=true
@ -9,3 +9,17 @@ N8N_CUSTOM_EXTENSIONS={{ n8n_root_dir }}/.n8n/custom
{% for env in n8n_env_var.keys() | list %}
{{ env }}={{ n8n_env_var[env] }}
{% endfor %}
N8N_DIAGNOSTICS_ENABLED=false
N8N_USER_MANAGEMENT_DISABLED=true
N8N_EMAIL_MODE=smtp
N8N_SMTP_HOST={{ n8n_smtp_server }}
N8N_SMTP_PORT={{ n8n_smtp_port }}
N8N_SMTP_SSL={{ n8n_smtp_ssl | ternary('true','false') }}
N8N_SMTP_SENDER={{ n8n_smtp_sender }}
N8N_SMTP_USER={{ n8n_smtp_user | default('smtp') }}
N8N_SMTP_PASS={{ n8n_smtp_pass | default("smtp') }}
N8N_EDITOR_BASE_URL={{ n8n_public_url }}
{% if system_tz is defined %}
GENERIC_TIMEZONE={{ system_tz }}
{% endif %}
EXECUTIONS_MODE=queue

View File

@ -9,8 +9,8 @@
- /usr/local/lib/site_perl/Zabbix/Agent/Addons
tags: zabbix
- name: Install git
package: name=git
- name: Install packages
package: name={{ zabbix_agent_packages }}
tags: zabbix
- name: Checkout Addons script