summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master_facts
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-04-27 09:31:41 -0400
committerScott Dodson <sdodson@redhat.com>2017-05-01 11:05:33 -0400
commit717c36fde2639f6f3cc7bf534052e1df0479c2fe (patch)
treefc979035ec641a094e27cd201813a0c85949f79d /roles/openshift_master_facts
parentb6190a17b578de72147e481b0eea00aca59adc2f (diff)
downloadopenshift-717c36fde2639f6f3cc7bf534052e1df0479c2fe.tar.gz
openshift-717c36fde2639f6f3cc7bf534052e1df0479c2fe.tar.bz2
openshift-717c36fde2639f6f3cc7bf534052e1df0479c2fe.tar.xz
openshift-717c36fde2639f6f3cc7bf534052e1df0479c2fe.zip
Don't double quote when conditions
Diffstat (limited to 'roles/openshift_master_facts')
-rw-r--r--roles/openshift_master_facts/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_master_facts/tasks/main.yml b/roles/openshift_master_facts/tasks/main.yml
index 81c1e7d57..f048e0aef 100644
--- a/roles/openshift_master_facts/tasks/main.yml
+++ b/roles/openshift_master_facts/tasks/main.yml
@@ -128,10 +128,10 @@
- name: Test if scheduler config is readable
fail:
msg: "Unknown scheduler config apiVersion {{ openshift_master_scheduler_config.apiVersion }}"
- when: "openshift_master_scheduler_current_config.apiVersion | default(None) != 'v1'"
+ when: openshift_master_scheduler_current_config.apiVersion | default(None) != 'v1'
- name: Set current scheduler predicates and priorities
set_fact:
openshift_master_scheduler_current_predicates: "{{ openshift_master_scheduler_current_config.predicates }}"
openshift_master_scheduler_current_priorities: "{{ openshift_master_scheduler_current_config.priorities }}"
- when: "scheduler_config_stat.stat.exists"
+ when: scheduler_config_stat.stat.exists