Skip to content
Snippets Groups Projects
Commit 201dbd6e authored by ynerant's avatar ynerant Committed by ynerant
Browse files

[thelounge] Download debian package


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 1575b3ee
1 merge request!165Nginx
---
- name: Restart The Lounge
systemd:
name: thelounge
state: restarted
......@@ -8,16 +8,19 @@
retries: 3
until: apt_result is succeeded
#- name: Download The Lounge packet
# get_url:
# url: https://github.com/thelounge/thelounge/releases/download/v4.2.0/thelounge_4.2.0_all.deb
# dest: /var/cache/apt/archives/thelounge_4.2.0_all.deb
# checksum: sha256:6096f992526f7ce01ea7c5aa1fb12bb013ce872f3c67f1fe11cd44f85a3fe405
# mode: 0644
- name: Download The Lounge packet
get_url:
url: https://github.com/thelounge/thelounge/releases/download/v4.2.0/thelounge_4.2.0_all.deb
dest: /var/cache/apt/archives/thelounge_4.2.0_all.deb
checksum: sha512:10d17c199fef595c46ba55f36ab7aa0a7469448603482eb780284e05532f5d69302d47bdc9c558badc30b0a026767a24b7065a4fe8d7c865f1737b0041420208
owner: root
group: root
mode: 0644
- name: Install The Lounge from the deb package
apt:
deb: /var/cache/apt/archives/thelounge_4.2.0_all.deb
notify: Restart The Lounge
- name: Deploy The Lounge configuration
template:
......@@ -26,8 +29,4 @@
owner: thelounge
group: thelounge
mode: 0660
- name: Restart The Lounge
systemd:
name: thelounge
state: restarted
notify: Restart The Lounge
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment