#Error with module snapshot_policy
1 messages · Page 1 of 1 (latest)
Sorry, I didn't notice this. An example task would look like this
na_ontap_snapshot_policy:
state: present
https: true
name: "my_standard_snapshot_policy"
schedule: ['6-hourly', 'daily']
prefix: ['hourly', 'daily']
count: [8, 7]
snapmirror_label: ['','vault-daily']
enabled: true
hostname: "{{ netapp_hostname }}"
username: "{{ netapp_username }}"
password: "{{ netapp_password }}"
vserver: "{{ vserver_name }}"
validate_certs: no
use_rest: always```
I'm not sure if the error is related to the empty snapmirror label. Interesting thing is it only happens on (at least from my limited testing) a specific release of ONTAP. I ran it on one filesystem, hit the error, upgraded the filesystem to ONTAP 9.14, reran the same pipeline, and it succeeded