hedgedoc #186
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
# defaults file for mastodon
|
# defaults file for mastodon
|
||||||
system_dep: "['apt-transport-https', 'postgresql', 'python3-psycopg2', 'nginx', 'git', 'wget', 'certbot']"
|
system_dep: "['apt-transport-https', 'postgresql', 'python3-psycopg2', 'nginx', 'git', 'wget', 'certbot', 'npm']"
|
||||||
git_url: 'https://github.com/hedgedoc/hedgedoc.git'
|
git_url: 'https://github.com/hedgedoc/hedgedoc.git'
|
||||||
git_version: '1.9.7'
|
git_version: '1.9.7'
|
||||||
node_version: 'node_16.x' # Node 18 is NOT supported as of May 2023; See https://docs.hedgedoc.org/setup/manual-setup/
|
node_version: 'node_18.x' # Node 18 is NOT supported as of May 2023; See https://docs.hedgedoc.org/setup/manual-setup/
|
||||||
node_port: '3000'
|
node_port: '3000'
|
||||||
service: 'example'
|
service: 'example'
|
||||||
domains: ['example.domain.org']
|
domains: ['example.domain.org']
|
||||||
|
|
|
@ -7,10 +7,16 @@
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: Install node-gyp from npm
|
- name: Install node-gyp from npm
|
||||||
shell: npm install --global node-gyp
|
shell: npm install --global node-gyp corepack
|
||||||
|
|
||||||
- name: Enable yarn (via corepack)
|
- name: Enable yarn (via corepack)
|
||||||
shell: "corepack enable; yarn set version classic"
|
shell: "corepack enable"
|
||||||
|
|
||||||
|
- name: Fix permissions
|
||||||
|
file:
|
||||||
|
path: /usr/local/lib/node_modules
|
||||||
|
mode: g+rx,o+rx
|
||||||
|
recurse: yes
|
||||||
|
|
||||||
- name: Add UNIX account
|
- name: Add UNIX account
|
||||||
user:
|
user:
|
||||||
|
|
Loading…
Reference in a new issue