rhel_subscribe.yml 442 B

12345678910111213
  1. ---
  2. - import_playbook: ../init/evaluate_groups.yml
  3. - name: Subscribe hosts, update repos and update OS packages
  4. hosts: oo_all_hosts
  5. roles:
  6. - role: rhel_subscribe
  7. when:
  8. - deployment_type == 'openshift-enterprise'
  9. - ansible_distribution == "RedHat"
  10. - lookup('env', 'rhel_skip_subscription') | default(rhsub_skip, True) | default('no', True) | lower in ['no', 'false']
  11. - role: openshift_repos
  12. - role: os_update_latest