[thelounge] Download debian package

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-02-22 14:33:21 +01:00 committed by ynerant
parent 1575b3eea5
commit 201dbd6ee0
2 changed files with 15 additions and 11 deletions

View File

@ -0,0 +1,5 @@
---
- name: Restart The Lounge
systemd:
name: thelounge
state: restarted

View File

@ -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