From 4c62697e35984e3708f4ac2901c882eb85d6ab09 Mon Sep 17 00:00:00 2001 From: 3D <3d@n3rd3d.com> Date: Wed, 22 Feb 2023 01:06:06 +0100 Subject: [PATCH] fixes --- common/docker_traefik/tasks/certificate.yml | 2 +- site.yml | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/common/docker_traefik/tasks/certificate.yml b/common/docker_traefik/tasks/certificate.yml index 40a41d91..599d43c6 100644 --- a/common/docker_traefik/tasks/certificate.yml +++ b/common/docker_traefik/tasks/certificate.yml @@ -95,4 +95,4 @@ copy: dest: "{{ basedir }}/cert.pem" content: "{{ ''.join(cert_chain.complete_chain) }}" - + when: not cert_cert_stat_result.stat.exists diff --git a/site.yml b/site.yml index a683feab..88dbe61d 100644 --- a/site.yml +++ b/site.yml @@ -298,7 +298,6 @@ - hosts: hix remote_user: root roles: - - { role: common/borgbackup, tags: borgbackup } - { role: common/cronapt, tags: cronapt } - { role: common/docker, tags: docker } - { role: common/prometheus-node, tags: prometheus-node } @@ -315,7 +314,14 @@ domain_default: "ha.warpzone.remote", selfSignedCN: "warpzone.remote", selfSignedDomain: "*.warpzone.remote" - } + } + - { + role: intern/docker_mqtt, tags: mqtt, + servicename: mqtt, + basedir: /srv/mqtt, + mqtt_port: 1883, + influxdb_port: 18086 + } - { role: intern/docker_grafana, tags: grafana, servicename: grafana, @@ -330,13 +336,6 @@ domain: "ha.warpzone.remote", influxdb_port: 38086 } - - { - role: intern/docker_mqtt, tags: mqtt, - servicename: mqtt, - basedir: /srv/mqtt, - mqtt_port: 1883, - influxdb_port: 18086 - } - { role: intern/docker_tasmoadmin, tags: tasmoadmin, servicename: tasmoadmin, -- GitLab