rhel_subscribe.yml 585 B

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