#snapmirror deletion question

1 messages · Page 1 of 1 (latest)

pale marsh
#

On netapp ansible doc, it says destination_path is deprecated. Should I use *_endpoint instead?

below example is what I'd do:


  - name: Delete SnapMirror
    netapp.ontap.na_ontap_snapmirror:
      state: absent
      source_endpoint:
        path: "{{ source_endpoint }}"
      destination_endpoint:
        path: "{{ destination_endpoint }}"
      source_hostname: "{{ source_hostname }}"
      hostname: "{{ destination_hostname }}"

I need to specify both source_endpoint and destination_endpoint? or just destination_endpoint?
thanks,
John