- name: Patch the OpenStackControlPlane CR to change the Swift default storage ports ansible.builtin.shell: | {{ shell_header }} {{ oc_header }} {{ cells_env }} cat > swift-config-patch.yaml << EOF spec: swift: template: swiftStorage: defaultConfigOverwrite: 01-account-server.conf: | [DEFAULT] bind_port = 6002 01-container-server.conf: | [DEFAULT] bind_port = 6001 01-object-server.conf: | [DEFAULT] bind_port = 6000 EOF - name: Apply the patch file ansible.builtin.shell: | {{ shell_header }} {{ oc_header }} oc patch openstackcontrolplane openstack --type=merge --patch-file=swift-config-patch.yaml - name: Create OpenStackDataPlaneService for Swift conversion ansible.builtin.shell: | {{ shell_header }} {{ oc_header }} oc apply -f - <