remove duble check for run this task just one time (#4613)

This commit is contained in:
Attilio Greco 2019-04-24 14:38:01 +02:00 committed by Kubernetes Prow Robot
parent 3c5a4474ac
commit 6243467856

View file

@ -68,7 +68,6 @@
delegate_to: "{{groups['etcd'][0]}}" delegate_to: "{{groups['etcd'][0]}}"
when: when:
- gen_certs|default(false) - gen_certs|default(false)
- inventory_hostname == groups['etcd'][0]
notify: set etcd_secret_changed notify: set etcd_secret_changed
- name: Gen_certs | Gather etcd master certs - name: Gen_certs | Gather etcd master certs