summaryrefslogtreecommitdiffstats
path: root/roles/openshift_buildoverrides/tasks
diff options
context:
space:
mode:
authorBen Parees <bparees@redhat.com>2017-01-06 14:07:51 -0500
committerBen Parees <bparees@redhat.com>2017-01-16 11:27:10 -0500
commit313f52af560af6b651e067d4b9f22b554a4e9cf7 (patch)
treeb2bc6070466d05ea47b4d9a42dd45c368687d29a /roles/openshift_buildoverrides/tasks
parent78b948edb0c30e3ec876916a8bbe08db5f055ea7 (diff)
downloadopenshift-313f52af560af6b651e067d4b9f22b554a4e9cf7.tar.gz
openshift-313f52af560af6b651e067d4b9f22b554a4e9cf7.tar.bz2
openshift-313f52af560af6b651e067d4b9f22b554a4e9cf7.tar.xz
openshift-313f52af560af6b651e067d4b9f22b554a4e9cf7.zip
add configuration for build default+overrides settings
Diffstat (limited to 'roles/openshift_buildoverrides/tasks')
-rw-r--r--roles/openshift_buildoverrides/tasks/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/openshift_buildoverrides/tasks/main.yml b/roles/openshift_buildoverrides/tasks/main.yml
new file mode 100644
index 000000000..82fce1c5b
--- /dev/null
+++ b/roles/openshift_buildoverrides/tasks/main.yml
@@ -0,0 +1,15 @@
+---
+#- name: Set buildoverrides
+# openshift_facts:
+# role: buildoverrides
+# local_facts:
+# force_pull: "{{ openshift_buildoverrides_force_pull | default(None) }}"
+# image_labels: "{{ openshift_buildoverrides_image_labels | default(None) }}"
+# nodeselectors: "{{ openshift_buildoverrides_nodeselectors | default(None) }}"
+# annotations: "{{ openshift_buildoverrides_annotations | default(None) }}"
+
+- name: Set buildoverrides config structure
+ openshift_facts:
+ role: buildoverrides
+ local_facts:
+ config: "{{ openshift_buildoverrides_json | default(buildoverrides_yaml) }}"