ansible-nas/tasks/znc.yml
David Stephens 3da19e5708 Major updates:
* Rejig of playbook to load roles from ansible-galaxy
* Remove ansible-nas role and move tasks to tasks directory
* Add InfluxDB/Telegraf/Grafana for monitoring & dashboards
* Automatically configure InfluxDB as a datasource in Grafana
* Switch to ZFS Docker driver
* Add note about switching to overlay2 Docker driver if required
2018-04-08 23:29:25 +01:00

23 lines
468 B
YAML

---
- name: Create ZNC Directories
file:
path: "{{ item }}"
state: directory
with_items:
- "{{ znc_data_directory }}"
- name: ZNC
docker_container:
name: znc
image: znc
pull: true
volumes:
- "{{ znc_data_directory }}:/znc-data:rw"
- "/etc/timezone:/etc/timezone:ro"
ports:
- "6677:6677"
env:
PUID: "{{ znc_user_id }}"
PGID: "{{ znc_group_id }}"
restart_policy: unless-stopped
memory: 1g