1 2 3 4 5 6 7 8 9 10 11 12 13 14
--- - 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 }}"