---
- name: Install docker excluder
  package:
    name: "{{ r_openshift_excluder_service_type }}-docker-excluder{{ openshift_pkg_version | default('') | oo_image_tag_to_rpm_version(include_dash=True) +  '*' }}"
    state: "{{ r_openshift_excluder_docker_package_state }}"
  when:
  - r_openshift_excluder_enable_docker_excluder | bool

- name: Install openshift excluder
  package:
    name: "{{ r_openshift_excluder_service_type }}-excluder{{ openshift_pkg_version | default('') | oo_image_tag_to_rpm_version(include_dash=True) + '*' }}"
    state: "{{ r_openshift_excluder_package_state }}"
  when:
  - r_openshift_excluder_enable_openshift_excluder | bool
