summaryrefslogtreecommitdiffstats
path: root/roles/pad
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pad')
-rw-r--r--roles/pad/tasks/main.yml8
-rw-r--r--roles/pad/vars/main.yml4
2 files changed, 8 insertions, 4 deletions
diff --git a/roles/pad/tasks/main.yml b/roles/pad/tasks/main.yml
index e2836a6..6e32ff6 100644
--- a/roles/pad/tasks/main.yml
+++ b/roles/pad/tasks/main.yml
@@ -5,7 +5,7 @@
block:
- name: Add GPG
apt:
- update_cache: yes
+ update_cache: "{{ update_cache }}"
name:
- gpg
- sudo
@@ -17,15 +17,15 @@
- name: Add nodesource repository
ansible.builtin.apt_repository:
repo: deb https://deb.nodesource.com/node_20.x nodistro main
- update_cache: yes
+ update_cache: "{{ update_cache }}"
- name: Install packages
apt:
- update_cache: yes
+ update_cache: "{{ update_cache }}"
name:
- git
- systemd
- sudo
- - nodejs
+ - nodejs=20.19.5-1nodesource1
- mariadb-server
- mariadb-client
state: present
diff --git a/roles/pad/vars/main.yml b/roles/pad/vars/main.yml
index 757b434..dfe2bfc 100644
--- a/roles/pad/vars/main.yml
+++ b/roles/pad/vars/main.yml
@@ -14,3 +14,7 @@ etherpad_soffice: "null"
etherpad_edit_only: "true"
etherpad_mysql_database_user: etherpad
etherpad_mysql_database_name: etherpad
+etherpad_db_type: mysql
+etherpad_mysql_database_host: localhost
+etherpad_mysql_database_password: "{{ etherpad_database_password }}"
+etherpad_min_node_version: "18.18.2"