---
- name: Install node, clients, and conntrack packages
  package:
    name: "{{ item.name }}"
    state: present
  register: result
  until: result is succeeded
  with_items:
  - name: "{{ openshift_service_type }}-node{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}"
  - name: "{{ openshift_service_type }}-clients{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}"
  - name: "conntrack-tools"
  when:
  - not openshift_is_atomic | bool
  - item['install'] | default(True) | bool
