summaryrefslogtreecommitdiffstats
path: root/roles/openshift_buildoverrides/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-01-17 10:32:42 -0500
committerGitHub <noreply@github.com>2017-01-17 10:32:42 -0500
commitdef9d435ef60b1f11c29db2fc98fe266bbd4041d (patch)
tree25bdfd52c8b76b2198bbc8d6a76e2d39ed9daae8 /roles/openshift_buildoverrides/tasks
parent52860b6cdf48f0b74b0da13ad7d0663c663381d6 (diff)
parent313f52af560af6b651e067d4b9f22b554a4e9cf7 (diff)
downloadopenshift-def9d435ef60b1f11c29db2fc98fe266bbd4041d.tar.gz
openshift-def9d435ef60b1f11c29db2fc98fe266bbd4041d.tar.bz2
openshift-def9d435ef60b1f11c29db2fc98fe266bbd4041d.tar.xz
openshift-def9d435ef60b1f11c29db2fc98fe266bbd4041d.zip
Merge pull request #3086 from bparees/build_nodes
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) }}"