From 8348425ca716e9d20ec3ddb9d1d39425a778530d Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 27 Jul 2026 20:25:14 +0300 Subject: Use poudriere built packages, upgrade to 15.1 --- roles/jails/03_irc_thelounge/tasks/main.yml | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'roles/jails/03_irc_thelounge/tasks') 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: -- cgit v1.3