feat(gitea): create PersistentVolume and PersistentVolumeClaim for Gitea feat(gitea): add script to create Gitea runner registration token secret feat(gitea): deploy Gitea Actions runner with Docker socket access feat(media): deploy JDownloader with Ingress configuration feat(media): set up Jellyfin media server with NFS and Ingress feat(media): configure qBittorrent deployment with Ingress feat(monitoring): add Grafana Loki datasource ConfigMap feat(monitoring): create Grafana admin credentials secret feat(monitoring): define PersistentVolumes for monitoring stack feat(network): implement DDNS CronJob for Porkbun DNS updates feat(network): create secret for Porkbun DDNS API credentials feat(network): set up Glances service and Ingress for Debian node fix(network): patch Pi-hole DNS services with external IPs feat(network): configure Traefik dashboard Ingress with Authentik auth feat(network): set up Watch Party service and Ingress for Mac Mini refactor(values): update Helm values files for various services
40 lines
1014 B
YAML
40 lines
1014 B
YAML
---
|
|
# Part of role: glances
|
|
# Called by: ansible/playbooks/setup-glances-debian.yaml
|
|
# Description: Deploys Glances as a Docker container with host networking for system monitoring.
|
|
|
|
- name: Create Glances config directory
|
|
ansible.builtin.file:
|
|
path: /etc/glances
|
|
state: directory
|
|
mode: "0755"
|
|
become: true
|
|
|
|
- name: Write Glances config
|
|
ansible.builtin.copy:
|
|
dest: /etc/glances/glances.conf
|
|
content: |
|
|
[fs]
|
|
hide=/etc/.*,/boot.*
|
|
mode: "0644"
|
|
become: true
|
|
notify: Restart Glances container
|
|
|
|
- name: Run Glances container
|
|
community.docker.docker_container:
|
|
name: glances
|
|
image: nicolargo/glances:latest-full
|
|
state: started
|
|
restart_policy: unless-stopped
|
|
pid_mode: host
|
|
network_mode: host
|
|
privileged: true
|
|
env:
|
|
GLANCES_OPT: "-w --config /etc/glances/glances.conf"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- /proc:/proc:ro
|
|
- /sys:/sys:ro
|
|
- /mnt:/mnt:ro
|
|
- /etc/glances:/etc/glances:ro
|