summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master_facts
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-05-01 21:50:15 -0500
committerGitHub <noreply@github.com>2017-05-01 21:50:15 -0500
commit81cf5123366814d098b7ca169a6e4deb2759507d (patch)
tree3645c65a323896f8a9536983332cb6854e656ebf /roles/openshift_master_facts
parent4c2f899ac4f5ad183072e453ece4391ee456871f (diff)
parent717c36fde2639f6f3cc7bf534052e1df0479c2fe (diff)
downloadopenshift-81cf5123366814d098b7ca169a6e4deb2759507d.tar.gz
openshift-81cf5123366814d098b7ca169a6e4deb2759507d.tar.bz2
openshift-81cf5123366814d098b7ca169a6e4deb2759507d.tar.xz
openshift-81cf5123366814d098b7ca169a6e4deb2759507d.zip
Merge pull request #3975 from sdodson/ansible_23_warnings
Merged by openshift-bot
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 6f8f09b22..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