diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-11-12 19:48:59 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-11-12 19:48:59 -0800 |
commit | 4559c7ad7172e6d42a51666f7f498e3d334f1036 (patch) | |
tree | 881956bb0017a5227665f0689590c5318bfe1d4a /roles/znc/tasks/znc.yml | |
parent | d1a62b36a6d8b350e3088ec59de088669b271994 (diff) | |
download | infra-4559c7ad7172e6d42a51666f7f498e3d334f1036.tar.gz infra-4559c7ad7172e6d42a51666f7f498e3d334f1036.zip |
commit ZNC config stuff (old)
Diffstat (limited to 'roles/znc/tasks/znc.yml')
-rw-r--r-- | roles/znc/tasks/znc.yml | 8 |
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 |