summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2017-06-15 09:10:41 -0400
committerTim Bielawa <tbielawa@redhat.com>2017-06-15 09:10:41 -0400
commit39e3ae639217738e3ffbb7e90a1e8940bc840798 (patch)
treeb14b9b7c2ebbabd73d846a2a12e7227a8a0c41a9
parent11f35dcc7aa00d9b3665176cba0bdb9dba517a76 (diff)
downloadopenshift-39e3ae639217738e3ffbb7e90a1e8940bc840798.tar.gz
openshift-39e3ae639217738e3ffbb7e90a1e8940bc840798.tar.bz2
openshift-39e3ae639217738e3ffbb7e90a1e8940bc840798.tar.xz
openshift-39e3ae639217738e3ffbb7e90a1e8940bc840798.zip
Add missing file. Remove debugging prompt.
-rw-r--r--playbooks/common/openshift-cfme/config.yml5
-rw-r--r--roles/openshift_cfme/tasks/tune_masters.yml12
2 files changed, 12 insertions, 5 deletions
diff --git a/playbooks/common/openshift-cfme/config.yml b/playbooks/common/openshift-cfme/config.yml
index 5887c05ec..533a35d9e 100644
--- a/playbooks/common/openshift-cfme/config.yml
+++ b/playbooks/common/openshift-cfme/config.yml
@@ -23,11 +23,6 @@
name: openshift_cfme
tasks_from: tune_masters
- - name: hold up
- pause:
- prompt: You just reconfigured that max param bro
-
-
- name: Setup CFME
hosts: oo_first_master
vars:
diff --git a/roles/openshift_cfme/tasks/tune_masters.yml b/roles/openshift_cfme/tasks/tune_masters.yml
new file mode 100644
index 000000000..02b0f10bf
--- /dev/null
+++ b/roles/openshift_cfme/tasks/tune_masters.yml
@@ -0,0 +1,12 @@
+---
+- name: Ensure bulk image import limit is tuned
+ yedit:
+ src: /etc/origin/master/master-config.yaml
+ key: 'imagePolicyConfig.maxImagesBulkImportedPerRepository'
+ value: "{{ openshift_cfme_maxImagesBulkImportedPerRepository | int() }}"
+ state: present
+ backup: True
+ notify:
+ - restart master
+
+- meta: flush_handlers