From f1aec4727384913d0c0b285c58878d299d5f6bfb Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Thu, 23 Mar 2017 17:05:54 -0400 Subject: Specify enterprise defaults for logging and metrics images --- roles/openshift_logging/tasks/main.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles/openshift_logging/tasks') 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 -- cgit v1.2.3