summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2025-09-23 12:14:19 -0400
committerSacha Chua <sacha@sachachua.com>2025-09-23 12:14:19 -0400
commitecd72950a2ed9148e65bad18e9e358a2c63b7c35 (patch)
treeb44737c3c5ac1cc6d96f1bd8acd410c60860812a /roles
parent576cb9e0be0992fb5d937a7d9bd95b657c3926eb (diff)
downloademacsconf-ansible-ecd72950a2ed9148e65bad18e9e358a2c63b7c35.tar.xz
emacsconf-ansible-ecd72950a2ed9148e65bad18e9e358a2c63b7c35.zip
tweaks to get etherpad to upgrade on front0HEADmain
Diffstat (limited to '')
-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"