Hello,
I need to add a dollar sign at the end of some share names at creation.
I tried :
- to add the $ at the end of the share name but the Netapp module refuses it
- use the browsable attribute which is only supported starting at ontap 9.13.1, which is not yet deployed on our DC
I've used below playbook :
- name: share | create | create share with dict
netapp.ontap.na_ontap_cifs:
state: present
share_name: "{{ __share_name }} "
browsable: "{{ __share_browsable }}"
path: "{{ _nas_path }}"
#use_rest: always
vserver: "vs{{ target }}"
hostname: "{{ nas_hostname }}"
username: "{{ nas_username }}"
password: "{{ nas_password }}"
https: true
validate_certs: false
What's wrong with my attempt ?
Using collection 22.6.0 with Ontap 9.11.1