#option snapshot-locking-enabled not available in na_ontap_volume module
1 messages · Page 1 of 1 (latest)
@iron granite hi, we've added this feature to the volume module and it is going to be a part of the next release.
You can try using na_ontap_rest_cli module:
- name: Enable Snapshot Copy Locking
netapp.ontap.na_ontap_rest_cli:
hostname: "{{ admin_ip }}"
username: "{{ username }}"
password: "{{ password }}"
command: 'volume'
verb: 'PATCH'
params: {'vserver': 'vserver_1', 'volume': 'volume_1'}
body: {'snapshot-locking-enabled': true}
register: result