aboutsummaryrefslogtreecommitdiffstats
path: root/roles/znc/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/znc/tasks')
-rw-r--r--roles/znc/tasks/znc.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/roles/znc/tasks/znc.yml b/roles/znc/tasks/znc.yml
index e5f7ab5..d051f8b 100644
--- a/roles/znc/tasks/znc.yml
+++ b/roles/znc/tasks/znc.yml
@@ -1,7 +1,7 @@
# more or less as per http://wiki.znc.in/Running_ZNC_as_a_system_daemon
- name: Install znc
- apt: pkg={{ item }} state=installed
+ apt: pkg={{ item }} state=installed repo=jessie-backports
with_items:
- znc
@@ -34,7 +34,7 @@
- name: Update post-certificate-renewal task
template:
src: etc_letsencrypt_postrenew_znc.sh.j2
- dest: /etc/letsencrypt/postrenew/znc.sh
+ dest: /etc/cron.weekly/znc-letsencrypt-postrenew.sh
owner: root
group: root
mode: 0755
@@ -57,9 +57,5 @@
when: znc_config.rc != 0
notify: restart znc
-- name: Set firewall rule for znc
- ufw: rule=allow port=6697 proto=tcp
- tags: ufw
-
- name: Ensure znc is a system service
service: name=znc state=restarted enabled=true