aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/03_irc_thelounge/tasks
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-07-27 20:25:14 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-07-27 20:25:14 +0300
commit8348425ca716e9d20ec3ddb9d1d39425a778530d (patch)
tree8fa3b80fad5d2a5597a27bca90d3977f6b761ce4 /roles/jails/03_irc_thelounge/tasks
parent73202ab15e3ff44678cbb646b69d647441303c55 (diff)
Use poudriere built packages, upgrade to 15.1
Diffstat (limited to 'roles/jails/03_irc_thelounge/tasks')
-rw-r--r--roles/jails/03_irc_thelounge/tasks/main.yml23
1 files changed, 7 insertions, 16 deletions
diff --git a/roles/jails/03_irc_thelounge/tasks/main.yml b/roles/jails/03_irc_thelounge/tasks/main.yml
index f21ff80..2dcc44c 100644
--- a/roles/jails/03_irc_thelounge/tasks/main.yml
+++ b/roles/jails/03_irc_thelounge/tasks/main.yml
@@ -2,22 +2,13 @@
name: jail
tasks_from: jail_setup
-- name: Clone thelounge
- shell: |
- git clone --depth 1 --branch v4.4.3 https://github.com/thelounge/thelounge.git /usr/local/share/thelounge
- args:
- creates: /usr/local/share/thelounge
-
-- name: Install thelounge dependencies and build
- shell: cd /usr/local/share/thelounge && yarn install && NODE_ENV=production yarn build
- args:
- creates: /usr/local/share/thelounge/dist
-
-- name: Link thelounge binary
- file:
- src: /usr/local/share/thelounge/index.js
- dest: /usr/local/bin/thelounge
- state: link
+- name: Set thelounge user and group
+ community.general.sysrc:
+ name: "{{ item.name }}"
+ value: "{{ item.value }}"
+ loop:
+ - { name: thelounge_user, value: root }
+ - { name: thelounge_group, value: wheel }
- name: Deploy thelounge config
copy: