using the na_ontap_snapmirror module to create snapmirrors. wanting to use the create_destination to create DP volume automatically but it errors out if i add the option. if i remove it then it gives error no volume.
- name: Create SnapMirror relationship
na_ontap_snapmirror:
source_endpoint:
path: "{{ item.vserver + ':' + item.volume }}"
cluster: "{{ clustername }}"
destination_endpoint:
path: "{{ item.dest_vserver + ':' + item.volume + '_dest' }}"
cluster: "{{ destclustername }}"
policy: "{{ item.protection_policy }}"
initialize: true
create_destination:
enabled: true
storage_service:
enabled: false
enforce_performance: false
hostname: "{{ destclusterip }}"
username: "{{ username }}"
password: "{{ password }}"
https: true
validate_certs: false
with_items: "{{ mirror_vols }}"