summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-03-23 17:05:54 -0400
committerScott Dodson <sdodson@redhat.com>2017-03-24 14:57:00 -0400
commitf1aec4727384913d0c0b285c58878d299d5f6bfb (patch)
tree2edb7bf8d691c68e3502d8e23908e12dfeca55a7 /roles/openshift_logging/tasks
parent86d56d1aabdff4a4d828a3f22099640f9769f9f4 (diff)
downloadopenshift-f1aec4727384913d0c0b285c58878d299d5f6bfb.tar.gz
openshift-f1aec4727384913d0c0b285c58878d299d5f6bfb.tar.bz2
openshift-f1aec4727384913d0c0b285c58878d299d5f6bfb.tar.xz
openshift-f1aec4727384913d0c0b285c58878d299d5f6bfb.zip
Specify enterprise defaults for logging and metrics images
Diffstat (limited to 'roles/openshift_logging/tasks')
-rw-r--r--roles/openshift_logging/tasks/main.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_logging/tasks/main.yaml b/roles/openshift_logging/tasks/main.yaml
index eb60175c7..7ff9c5319 100644
--- a/roles/openshift_logging/tasks/main.yaml
+++ b/roles/openshift_logging/tasks/main.yaml
@@ -3,6 +3,12 @@
msg: Only one Fluentd nodeselector key pair should be provided
when: "{{ openshift_logging_fluentd_nodeselector.keys() | count }} > 1"
+- name: Set default image variables based on deployment_type
+ include_vars: "{{ item }}"
+ with_first_found:
+ - "{{ openshift_deployment_type | default(deployment_type) }}.yml"
+ - "default_images.yml"
+
- name: Create temp directory for doing work in
command: mktemp -d /tmp/openshift-logging-ansible-XXXXXX
register: mktemp