You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
458 B

- name: install/upgrade znc
apt: name=znc state=latest
become: true
- name: znc config
copy:
src: znc/{{ item }}
dest: ~/.znc/{{ item | splitext | first }}
with_items:
- configs/znc.conf.private
- znc.pem.private
- name: znc systemd
copy:
src: znc/znc.service
dest: ~/.config/systemd/user/znc.service
- name: restart znc
systemd:
name: znc
daemon_reload: yes
enabled: yes
state: restarted
user: yes