rhel_subscribe.yml 564 B

12345678910111213141516
  1. ---
  2. - include: ../common/openshift-cluster/evaluate_groups.yml
  3. vars_files:
  4. - ../../byo/openshift-cluster/cluster_hosts.yml
  5. - hosts: all
  6. vars:
  7. openshift_deployment_type: "{{ deployment_type }}"
  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