netapp.ontap
netapp.ontap copied to clipboard
Add support for S3 services in na_ontap_svm module
Summary
Trying to create/manage an ONTAP vServer that ONLY has NFS services configured/allowed. The services parameter in na_ontap_svm module doesn't support S3. Would like to be able to disallow S3 service during SVM creation.
Expecting to be able to include parameters to services such as:
s3:
allowed: false
Currently, this forces me to manually remove S3 support from the SVM by other means.
::> vserver remove-protocols -vserver vserver1 -protocols s3
Noting that in the code...seem to be aware of this with a #TODO comment.
I didn't seem to find a corresponding open issue in GitHub.
https://github.com/ansible-collections/netapp.ontap/blob/67a7e09bbc49b0fb80d9e7bf8fbbd0e085a2946f/plugins/modules/na_ontap_svm.py#L382
Component Name
na_ontap_svm
Additional Information
- name: Create NFS vServer
netapp.ontap.na_ontap_svm:
subtype: default
language: C.UTF-8
name: vserver1
services:
cifs:
allowed: false
fcp:
allowed: false
iscsi:
allowed: false
ndmp:
allowed: false
nfs:
allowed: true
nvme:
allowed: false
The services module doesn't support S3. Expecting to be able to include parameters to services such as:
s3:
allowed: false