aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/jails/03_irc_thelounge/tasks/main.yml35
1 files changed, 0 insertions, 35 deletions
diff --git a/roles/jails/03_irc_thelounge/tasks/main.yml b/roles/jails/03_irc_thelounge/tasks/main.yml
index 55c3bfe..f21ff80 100644
--- a/roles/jails/03_irc_thelounge/tasks/main.yml
+++ b/roles/jails/03_irc_thelounge/tasks/main.yml
@@ -2,33 +2,6 @@
name: jail
tasks_from: jail_setup
-- name: Check if old thelounge data exists
- stat:
- path: /root/.thelounge/config.js
- register: _old_thelounge
-
-- name: "*** MIGRATION REQUIRED: thelounge data ***"
- pause:
- prompt: |
-
- ════════════════════════════════════════════════════════════════
- THELOUNGE DATA MIGRATION
- ════════════════════════════════════════════════════════════════
- /root/.thelounge still exists. Migrate manually:
-
- 1. jexec irc_thelounge service thelounge stop
- 2. On host: zfs set mountpoint=/usr/local/jails/containers/irc_thelounge/var/db/thelounge zroot/jails/volumes/irc_thelounge
- 3. jexec irc_thelounge cp -a /root/.thelounge/* /var/db/thelounge/
- 4. jexec irc_thelounge service thelounge start
- 5. Destroy old volumes when confirmed working:
- zfs destroy zroot/jails/volumes/irc_thelounge_logs
- zfs destroy zroot/jails/volumes/irc_thelounge_uploads
- 6. jexec irc_thelounge rm -rf /root/.thelounge
- ════════════════════════════════════════════════════════════════
-
- Press Enter after migration is complete or Ctrl+C to abort
- when: _old_thelounge.stat.exists
-
- name: Clone thelounge
shell: |
git clone --depth 1 --branch v4.4.3 https://github.com/thelounge/thelounge.git /usr/local/share/thelounge
@@ -46,14 +19,6 @@
dest: /usr/local/bin/thelounge
state: link
-- name: Create thelounge data directory
- file:
- path: /var/db/thelounge
- state: directory
- owner: root
- group: wheel
- mode: "0755"
-
- name: Deploy thelounge config
copy:
src: "{{ jail_role_dir }}/files/config.js"