Update to 2021-03-26 16:00

master
Daniel Berteaud 4 years ago
parent 71b7123e2c
commit 4b9469ef10
  1. 5
      roles/n8n/defaults/main.yml
  2. 2
      roles/n8n/templates/n8n.service.j2
  3. 4
      roles/unifi/defaults/main.yml

@ -44,3 +44,8 @@ n8n_public_url: http://{{ inventory_hostname }}:{{ n8n_port }}/
# A secret key used to encrypt data in the DB. A random one is created is not defined here # A secret key used to encrypt data in the DB. A random one is created is not defined here
# n8n_secret_key: p@ssW0rd # n8n_secret_key: p@ssW0rd
# If enabled, the systemd unit will have ProtectSystem=yes
# This is recommended most of the time, but there are cases where you might want n8n to
# be able to write under /usr
n8n_protect_system: True

@ -9,7 +9,9 @@ Group={{ n8n_user }}
EnvironmentFile={{ n8n_root_dir }}/etc/env EnvironmentFile={{ n8n_root_dir }}/etc/env
ExecStart={{ n8n_root_dir }}/app/node_modules/n8n/bin/n8n ExecStart={{ n8n_root_dir }}/app/node_modules/n8n/bin/n8n
PrivateTmp=yes PrivateTmp=yes
{% if n8n_protect_system %}
ProtectSystem=full ProtectSystem=full
{% endif %}
ProtectHome=yes ProtectHome=yes
NoNewPrivileges=yes NoNewPrivileges=yes
MemoryLimit=2048M MemoryLimit=2048M

@ -1,9 +1,9 @@
--- ---
unifi_root_dir: /opt/unifi unifi_root_dir: /opt/unifi
unifi_version: 6.0.45 unifi_version: 6.1.71
unifi_archive_url: https://www.ubnt.com/downloads/unifi/{{ unifi_version }}/UniFi.unix.zip unifi_archive_url: https://www.ubnt.com/downloads/unifi/{{ unifi_version }}/UniFi.unix.zip
unifi_archive_sha1: 9ced99ee6d7749f3dcba37221eb298ea7e35ec32 unifi_archive_sha1: bf306596eba094c023d9730d205b64848e40a421
unifi_manage_upgrade: True unifi_manage_upgrade: True
unifi_http_port: 8080 unifi_http_port: 8080
unifi_https_port: 8443 unifi_https_port: 8443

Loading…
Cancel
Save