#Question for snapshot_auto_delete in netapp.ontap.na_ontap_volume modul

1 messages · Page 1 of 1 (latest)

left carbon
#

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

past cipher
left carbon
#

Excellent, thank you @past cipher This is great news, so we don't have to work around it.