summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-03-29 15:23:25 -0400
committerJason DeTiberus <jdetiber@redhat.com>2016-03-31 17:47:38 -0400
commitccc5a30e00144bdb7a9cc2339aa2cb65defdb230 (patch)
treea7f28710e0c2c599c7c914084d3fb1849bf9226a /roles/openshift_master/tasks
parentc818db9b485b19256e1c19573cd0640fdabcb109 (diff)
downloadopenshift-ccc5a30e00144bdb7a9cc2339aa2cb65defdb230.tar.gz
openshift-ccc5a30e00144bdb7a9cc2339aa2cb65defdb230.tar.bz2
openshift-ccc5a30e00144bdb7a9cc2339aa2cb65defdb230.tar.xz
openshift-ccc5a30e00144bdb7a9cc2339aa2cb65defdb230.zip
Allow for overriding scheduler config
- introduce openshift_master_scheduler_predicates and openshift_master_scheduler_priorities to override the default scheduler predicates and priorities - switch default scheduler priorities to use SelectorSpreadPriority instead of ServiceSpreadingPriority
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 79b68dc3c..23994cdcf 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -65,9 +65,9 @@
- restart master controllers
- name: Create the scheduler config
- template:
+ copy:
+ content: "{{ scheduler_config | to_nice_json }}"
dest: "{{ openshift_master_scheduler_conf }}"
- src: scheduler.json.j2
backup: true
notify:
- restart master