If I create a vserver with ONTAP 9.11.1 and disallow all protocols first, I am not able to add one or more protocols afterwards.
My yml file to create the vserver
- name: create vserver
delegate_to: localhost
netapp.ontap.na_ontap_svm:
hostname: "{{ netapp_hostname }}"
username: "{{ netapp_username }}"
password: "{{ netapp_password }}"
https: true
validate_certs: "{{ validate_certs }}"
state: present
name: "rene5"
services:
cifs:
allowed: false
nfs:
allowed: false
iscsi:
allowed: false
fcp:
allowed: false
ndmp:
allowed: false
The strange part here is, that the vervser does not show any protocols. Neither in allowed protocol nor in disallowed protocol.
cluter::> vserver show -vserver rene5 -fields allowed-protocols ,disallowed-protocols
vserver allowed-protocols disallowed-protocols
------- ----------------- --------------------
rene5 - -
Now I am not able to add one or more protocols any more
- name: Add CIFS and NFS Protocol
delegate_to: localhost
netapp.ontap.na_ontap_svm:
hostname: "{{ netapp_hostname }}"
username: "{{ netapp_username }}"
password: "{{ netapp_password }}"
https: true
validate_certs: "{{ validate_certs }}"
state: present
name: "rene5"
services:
cifs:
allowed: true
nfs:
allowed: true
enabled: true