pre-install.yml 519 B

12345678910111213141516171819
  1. ---
  2. ###############################
  3. # OpenShift Pre-Requisites
  4. # - subscribe hosts
  5. # - prepare docker
  6. # - other prep (install additional packages, etc.)
  7. #
  8. - hosts: OSEv3
  9. become: true
  10. roles:
  11. - { role: subscription-manager, when: hostvars.localhost.rhsm_register|default(False), tags: 'subscription-manager', ansible_sudo: true }
  12. - { role: docker, tags: 'docker' }
  13. - { role: openshift-prep, tags: 'openshift-prep' }
  14. - hosts: localhost:cluster_hosts
  15. become: False
  16. tasks:
  17. - include: pre_tasks.yml