I am using version 22.0.1 module.
Ansible docs say this command was added in 20.4.0 I am getting a purple ZAPI warning on this module. Is there a mapping to an alternative place I can set this. Or is it a false positive. Here is the code. It all works except for the warning.
- name: Create RW Volume {{ volname }} Flexvol
netapp.ontap.na_ontap_volume:
hostname: "{{ cluster }}"
username: "{{ username }}"
password: "{{ password }}"
https: true
validate_certs: false
state: "{{ state }}"
type: RW
name: "{{ volname }}"
vserver: "{{ vserver }}"
aggregate_name: "{{ aggr }}"
snapshot_policy: "{{ snapshot_policy }}"
percent_snapshot_space: "{{ percent_snapshot_space }}"
junction_path: /{{ volname }}
encrypt: "{{ encrypt }}"
volume_security_style: ntfs
size: "{{ size }}"
size_unit: "{{ size_unit }}"
space_guarantee: none
snapshot_auto_delete:
state: "on"
commitment: try
comment: "{{ comment }}"
when: (flexgroup == "False") or (flexgroup is undefined) or (flexgroup == None) or (flexgroup =='')
This is the warning