From 417c9f46f167a36a96d6e1fbb5df8bd2a5c540d4 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 13 Aug 2020 12:25:32 +0200
Subject: [PATCH] Remove registry since we're now using the cloud app

---
 tasks/configure.yml | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/tasks/configure.yml b/tasks/configure.yml
index db983ae..cdd6a17 100644
--- a/tasks/configure.yml
+++ b/tasks/configure.yml
@@ -7,21 +7,6 @@
     groups: adm
     append: yes
 
-- name: Configure Registry
-  ini_file:
-    dest: /etc/netdata/netdata.conf
-    create: yes
-    section: registry
-    option: '{{ item.option }}'
-    value: '{{ item.value }}'
-  with_items:
-    - option: enabled
-      value: '{{ (netdata_registry|default("pmon1") == inventory_hostname)|ternary("yes", "no") }}'
-    - option: registry to announce
-      value: 'http://{{ netdata_registry|default("pmon1") }}:19999'
-  notify:
-    - Restart NetData
-
 - name: Configure NetData
   template:
     src: '{{ item }}'
-- 
GitLab