From e24548e9a695d5a89a04ef4fb9a163506fa1daf2 Mon Sep 17 00:00:00 2001 From: meaz Date: Tue, 23 Apr 2024 20:04:39 +0200 Subject: [PATCH] replace node task by node playbook --- Playbooks/lemmy.yml | 1 + README.MD | 2 +- defaults/main.yml | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Playbooks/lemmy.yml b/Playbooks/lemmy.yml index 1f703b3..fb9c1d8 100644 --- a/Playbooks/lemmy.yml +++ b/Playbooks/lemmy.yml @@ -4,6 +4,7 @@ roles: - postgresql - nginx + - node - lemmy vars_files: diff --git a/README.MD b/README.MD index 1c393ed..46feef0 100644 --- a/README.MD +++ b/README.MD @@ -15,7 +15,7 @@ Then you can access lemmy from your computer on https://lemmy.example.lan ## Playbook -The playbook includes postgresql and nginx roles and deploys entire stack needed to run lemmy. Additional roles are also available in the Ansible roles repos in git. +The playbook includes postgresql, nginx and node roles and deploys entire stack needed to run lemmy. Additional roles are also available in the Ansible roles repos in git. ## Information diff --git a/defaults/main.yml b/defaults/main.yml index 2f7c1ad..d7c9a6a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -44,10 +44,11 @@ lemmy_smtp_tls_type: 'none' # UI +## Node +nodejs_version: '20' + lemmy_ui_pkg: - - nodejs - yarn -lemmy_nodejs_version: '20' lemmy_ui_version: '0.19.3' lemmy_ui_dir: '/var/lib/lemmy/lemmy-ui' lemmy_ui_port: '1234'