Fix to run secure cluster only once in a run

The current secure cluster play runs with all the monitors. The rerun
of this task is unnecessary and can be skipped.

Fixes: #2737

Signed-off-by: Vishal Kanaujia <vishal.kanaujia@flipkart.com>
pull/2743/head
Vishal Kanaujia 2018-06-08 12:34:49 +05:30 committed by Guillaume Abrioux
parent 6035978ed9
commit 1a610df02b
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@
- name: include secure_cluster.yml
include: secure_cluster.yml
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: true
when:
- secure_cluster
- not containerized_deployment