ansible-nas/tasks/glances.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

18 lines
456 B
YAML

- name: Glances Docker Container
docker_container:
name: glances
image: nicolargo/glances
pull: true
ports:
- "61208:61208"
- "61209:61209"
volumes:
#- "/glances.conf:/glances/conf/glances.conf"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "/etc/timezone:/etc/timezone:ro"
pid_mode: host
network_mode: host
env:
GLANCES_OPT: "-w"
restart_policy: unless-stopped
memory: 1g