std_include.yml 870 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. - name: Create initial host groups for localhost
  3. hosts: localhost
  4. connection: local
  5. become: no
  6. gather_facts: no
  7. tags:
  8. - always
  9. tasks:
  10. - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml
  11. - name: Evaluate group l_oo_all_hosts
  12. add_host:
  13. name: "{{ item }}"
  14. groups: l_oo_all_hosts
  15. with_items: "{{ g_all_hosts | default([]) }}"
  16. changed_when: no
  17. - name: Create initial host groups for all hosts
  18. hosts: l_oo_all_hosts
  19. gather_facts: no
  20. tags:
  21. - always
  22. tasks:
  23. - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml
  24. - set_fact:
  25. openshift_deployment_type: "{{ deployment_type }}"
  26. - include: evaluate_groups.yml
  27. tags:
  28. - always
  29. - include: initialize_facts.yml
  30. tags:
  31. - always
  32. - include: validate_hostnames.yml
  33. tags:
  34. - node
  35. - include: initialize_openshift_version.yml
  36. tags:
  37. - always