Remove netdata

Don't use it anyway
This commit is contained in:
Jake Howard 2020-10-09 23:39:55 +01:00
parent 6852b84406
commit b8ea056455
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 0 additions and 39 deletions

View file

@ -36,7 +36,6 @@
- hosts: intersect
roles:
- netdata
- home_assistant
- intersect_docker
- plausible

View file

@ -1,17 +0,0 @@
version: "2.3"
services:
netdata:
image: netdata/netdata:latest
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
volumes:
- /etc/passwd:/host/etc/passwd:ro
- /etc/group:/host/etc/group:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
restart: unless-stopped
ports:
- 19999:19999

View file

@ -1,4 +0,0 @@
- name: restart netdata
shell:
chdir: /opt/netdata
cmd: "{{ docker_update_command }}"

View file

@ -1,17 +0,0 @@
- name: Create install directory
file:
path: /opt/netdata
state: directory
owner: "{{ docker_user.name }}"
mode: "{{ docker_compose_directory_mask }}"
become: true
- name: Install compose file
template:
src: files/docker-compose.yml
dest: /opt/netdata/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
notify: restart netdata
become: true