rhel_subscribe.yml 584 B

12345678910111213141516
  1. ---
  2. - include: openshift-cluster/initialize_groups.yml
  3. tags:
  4. - always
  5. - name: Subscribe hosts, update repos and update OS packages
  6. # Temporarily reverting to OSEv3 until group standardization is complete
  7. hosts: OSEv3
  8. roles:
  9. - role: rhel_subscribe
  10. when: deployment_type in ['atomic-enterprise', 'enterprise', 'openshift-enterprise'] and
  11. ansible_distribution == "RedHat" and
  12. lookup('oo_option', 'rhel_skip_subscription') | default(rhsub_skip, True) |
  13. default('no', True) | lower in ['no', 'false']
  14. - openshift_repos
  15. - os_update_latest