12345678910111213141516171819 |
- ---
- - name: Set default image variables based on openshift_deployment_type
- include_vars: "{{ var_file_name }}"
- with_first_found:
- - "{{ openshift_deployment_type }}.yml"
- - "default_images.yml"
- loop_control:
- loop_var: var_file_name
- - name: Set eventrouter image facts
- set_fact:
- openshift_logging_eventrouter_image_prefix: "{{ openshift_logging_eventrouter_image_prefix | default(__openshift_logging_eventrouter_image_prefix) }}"
- openshift_logging_eventrouter_image_version: "{{ openshift_logging_eventrouter_image_version | default(__openshift_logging_eventrouter_image_version) }}"
- - include_tasks: install_eventrouter.yaml
- when: openshift_logging_install_eventrouter | default(false) | bool
- - include_tasks: delete_eventrouter.yaml
- when: not openshift_logging_install_eventrouter | default(false) | bool
|