rhel_subscribe.yml 590 B

12345678910111213141516171819
  1. ---
  2. - include: openshift-cluster/initialize_groups.yml
  3. tags:
  4. - always
  5. - include: ../common/openshift-cluster/std_include.yml
  6. tags:
  7. - always
  8. - name: Subscribe hosts, update repos and update OS packages
  9. hosts: g_all_hosts
  10. roles:
  11. - role: rhel_subscribe
  12. when: deployment_type in ['atomic-enterprise', 'enterprise', 'openshift-enterprise'] and
  13. ansible_distribution == "RedHat" and
  14. lookup('oo_option', 'rhel_skip_subscription') | default(rhsub_skip, True) |
  15. default('no', True) | lower in ['no', 'false']
  16. - openshift_repos
  17. - os_update_latest