restructured playbooks, cleanup

This commit is contained in:
2021-06-25 01:33:02 +02:00
parent 188a9215a9
commit a61d08d118
9 changed files with 125 additions and 160 deletions

View File

@@ -14,11 +14,12 @@
- name: run grafana
docker_container:
name: ed-grafana
image: grafana/grafana:7.5.7
image: docker.io/grafana/grafana:7.5.7
hostname: ed-grafana
domainname: cobald.local
networks:
- name: "{{cobald_docker_network}}"
networks_cli_compatible: True
published_ports:
- "3000:3000"
state: started
@@ -42,7 +43,6 @@
version: Flux
additional_secure_json_data:
token: "{{influx_grafana_token.token}}"
register: das
- community.grafana.grafana_dashboard:
grafana_url: http://localhost:3000

View File

@@ -1,11 +1,12 @@
- name: run influxdb in docker container
docker_container:
name: ed-influxdb
image: influxdb
image: docker.io/library/influxdb:2.0
hostname: "{{influx_hostname}}"
domainname: "{{influx_domainname}}"
networks:
- name: "{{ cobald_docker_network }}"
networks_cli_compatible: True
published_ports:
- "{{influx_pubport}}:8086"
volumes:
@@ -21,7 +22,6 @@
state: started
detach: True
cleanup: True
networks_cli_compatible: True
- name: add ansible connection to influxdb container
add_host:

View File

@@ -1,5 +1,6 @@
- include_vars: cobald-slurm.yml
when: cobald_slurm | default(False)
tags: always
- name: build cobald:slurm docker image
include_role: