config.yml 589 B

1234567891011121314151617181920
  1. - name: master/config.yml, populate oo_masters_to_config host group if needed
  2. hosts: localhost
  3. gather_facts: no
  4. tasks:
  5. - name: "Evaluate oo_host_group_exp if it's set"
  6. add_host: "name={{ item }} groups=oo_masters_to_config"
  7. with_items: "{{ oo_host_group_exp | default('') }}"
  8. when: oo_host_group_exp is defined
  9. - name: "Gather facts for nodes in {{ oo_env }}"
  10. hosts: "tag_env-host-type-{{ oo_env }}-openshift-node"
  11. - name: "Configure instances"
  12. hosts: oo_masters_to_config
  13. vars_files:
  14. - vars.yml
  15. roles:
  16. - openshift_master
  17. - pods
  18. - os_env_extras