From 529bcc3a204375fd189e8a02eea70ccf4d45412f Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sat, 3 Jun 2023 14:05:27 +0200 Subject: [PATCH] wrong format and content for consul service file --- templates/adguard.consul.json | 13 ------------- templates/adguard.consul.json.j2 | 1 + 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 templates/adguard.consul.json create mode 100644 templates/adguard.consul.json.j2 diff --git a/templates/adguard.consul.json b/templates/adguard.consul.json deleted file mode 100644 index a61ee59..0000000 --- a/templates/adguard.consul.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "service": { - "name": "adguard", - "address": "127.0.0.1", - "port": 80, - "tags": [ - - ], - "connect": { - "sidecar_service": {} - } - } -} \ No newline at end of file diff --git a/templates/adguard.consul.json.j2 b/templates/adguard.consul.json.j2 new file mode 100644 index 0000000..afa57cc --- /dev/null +++ b/templates/adguard.consul.json.j2 @@ -0,0 +1 @@ +{{ deploy_adguard_consul['configuration']|to_nice_json }} \ No newline at end of file