---
# TODO: subscribe to RHEL and install docker and other packages here

- name: Install required packages
  yum:
    name: "{{ item }}"
    state: latest
  with_items: "{{ openshift_openstack_required_packages }}"
  register: result
  until: result is succeeded

- name: Install debug packages (optional)
  yum:
    name: "{{ item }}"
    state: latest
  with_items: "{{ openshift_openstack_debug_packages }}"
  when: openshift_openstack_install_debug_packages|bool
  register: result
  until: result is succeeded
