config.yml 726 B

123456789101112131415161718192021222324
  1. ---
  2. - name: Populate oo_masters_to_config host group if needed
  3. hosts: localhost
  4. gather_facts: no
  5. tasks:
  6. - name: "Evaluate oo_host_group_exp if it's set"
  7. add_host: "name={{ item }} groups=oo_masters_to_config"
  8. with_items: "{{ oo_host_group_exp | default('') }}"
  9. when: oo_host_group_exp is defined
  10. - name: Configure instances
  11. hosts: oo_masters_to_config
  12. vars:
  13. openshift_hostname: "{{ ec2_private_ip_address }}"
  14. openshift_public_hostname: "{{ ec2_ip_address }}"
  15. # TODO: this should be removed once openshift-sdn packages are available
  16. openshift_use_openshift_sdn: False
  17. vars_files:
  18. - vars.yml
  19. roles:
  20. - openshift_master
  21. #- openshift_sdn_master
  22. - pods
  23. - os_env_extras