From 5617b6d60bec5326660af607e6a10db121e57e7e Mon Sep 17 00:00:00 2001 From: John Fulton Date: Tue, 10 Oct 2023 10:09:15 -0400 Subject: [PATCH] Make testing_with_ansibleee example correct for OpenStackDataPlaneNodeSet With the switch from `OpenStackDataPlaneNode` to `OpenStackDataPlaneNodeSet`, the `nodeTemplate` entry for `extraMounts` is no longer under `roles` and now under `spec` so update the example accordingly. Signed-off-by: John Fulton --- docs/source/testing_with_ansibleee.rst | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/docs/source/testing_with_ansibleee.rst b/docs/source/testing_with_ansibleee.rst index 18af17819..987920234 100644 --- a/docs/source/testing_with_ansibleee.rst +++ b/docs/source/testing_with_ansibleee.rst @@ -108,16 +108,14 @@ OpenStackDataPlane CR should contain the following snippet: .. code-block:: console spec: - roles: - edpm-compute: - nodeTemplate: - extraMounts: - - extraVolType: edpm-ansible - mounts: - - mountPath: /usr/share/ansible/collections/ansible_collections/osp/edpm - name: edpm-ansible - volumes: - - name: edpm-ansible - persistentVolumeClaim: - claimName: edpm-ansible - readOnly: true + nodeTemplate: + extraMounts: + - extraVolType: edpm-ansible + mounts: + - mountPath: /usr/share/ansible/collections/ansible_collections/osp/edpm + name: edpm-ansible + volumes: + - name: edpm-ansible + persistentVolumeClaim: + claimName: edpm-ansible + readOnly: true