[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 retries: 3
until: apt_result is succeeded until: apt_result is succeeded
#- name: Download The Lounge packet - name: Download The Lounge packet
# get_url: get_url:
# url: https://github.com/thelounge/thelounge/releases/download/v4.2.0/thelounge_4.2.0_all.deb 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 dest: /var/cache/apt/archives/thelounge_4.2.0_all.deb
# checksum: sha256:6096f992526f7ce01ea7c5aa1fb12bb013ce872f3c67f1fe11cd44f85a3fe405 checksum: sha512:10d17c199fef595c46ba55f36ab7aa0a7469448603482eb780284e05532f5d69302d47bdc9c558badc30b0a026767a24b7065a4fe8d7c865f1737b0041420208
# mode: 0644 owner: root
group: root
mode: 0644
- name: Install The Lounge from the deb package - name: Install The Lounge from the deb package
apt: apt:
deb: /var/cache/apt/archives/thelounge_4.2.0_all.deb deb: /var/cache/apt/archives/thelounge_4.2.0_all.deb
notify: Restart The Lounge
- name: Deploy The Lounge configuration - name: Deploy The Lounge configuration
template: template:
@ -26,8 +29,4 @@
owner: thelounge owner: thelounge
group: thelounge group: thelounge
mode: 0660 mode: 0660
notify: Restart The Lounge
- name: Restart The Lounge
systemd:
name: thelounge
state: restarted