---
- name: Create default projects
  oc_project:
    name: "{{ item.key }}"
    node_selector:
    - "{{ item.value.default_node_selector }}"
  with_dict: "{{ openshift_default_projects }}"

- name: Create additional projects
  oc_project:
    name: "{{ item.key }}"
    node_selector:
    - "{{ item.value.default_node_selector }}"
  with_dict: "{{ openshift_additional_projects }}"
