From 62434678561b60891b72a8651fb25c4bd0de61ea Mon Sep 17 00:00:00 2001
From: Attilio Greco <attilio.greco.gapmilano@gmail.com>
Date: Wed, 24 Apr 2019 14:38:01 +0200
Subject: [PATCH] remove duble check for run this task just one time (#4613)

---
 roles/etcd/tasks/gen_certs_script.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/roles/etcd/tasks/gen_certs_script.yml b/roles/etcd/tasks/gen_certs_script.yml
index 4d94060bd..63208d54a 100644
--- a/roles/etcd/tasks/gen_certs_script.yml
+++ b/roles/etcd/tasks/gen_certs_script.yml
@@ -68,7 +68,6 @@
   delegate_to: "{{groups['etcd'][0]}}"
   when:
     - gen_certs|default(false)
-    - inventory_hostname == groups['etcd'][0]
   notify: set etcd_secret_changed
 
 - name: Gen_certs | Gather etcd master certs
-- 
GitLab