config.yml 860 B

123456789101112131415161718192021222324252627282930
  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. - add_host:
  12. name: "{{ item }}"
  13. groups: l_oo_all_hosts
  14. with_items: "{{ g_all_hosts | default([]) }}"
  15. changed_when: no
  16. - name: Create initial host groups for all hosts
  17. hosts: l_oo_all_hosts
  18. gather_facts: no
  19. tags:
  20. - always
  21. tasks:
  22. - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml
  23. - include: ../../common/openshift-cluster/config.yml
  24. vars:
  25. openshift_cluster_id: "{{ cluster_id | default('default') }}"
  26. openshift_debug_level: "{{ debug_level | default(2) }}"
  27. openshift_deployment_type: "{{ deployment_type }}"
  28. openshift_deployment_subtype: "{{ deployment_subtype | default(none) }}"