#snapmirror update

1 messages · Page 1 of 1 (latest)

rugged ravine
#

What is the minimum required data for snapmirror update?
On the CLI all you have to provide is
snapmirror update -destination-path <destinationSVM>:<destinationVol>

I'm trying to do this with the snapmirror module.
When I delete a snapmirror relationship I can get away with leaving the source_endpoint information blank. However, if the state is 'present' and I provide the update true flag, the response is

"msg": "Missing parameters: Source path or Destination path"

- name: Run snapmirror update netapp.ontap.na_ontap_snapmirror: state: "{{ sm_state }}" source_endpoint: cluster: path: destination_endpoint: cluster: "{{ cluster }}" path: "{{ vserver + ':' + volume }}" update: true use_rest: always hostname: "{{ cluster }}" username: "{{ username }}" password: "{{ password }}" https: "{{ https }}" validate_certs: "{{ validate_certs }}"

Is there a way to configure this module to run a snapmirror update without providing the source information like in the CLI?