I need to create different snapmirror restores
- name: Create snapmirror restore from vaults
netapp.ontap.na_ontap_snapmirror:
state: present
source_endpoint:
path: "{{ SEC_VLT_SVM }}:{{ ANS_VOL }}"
destination_endpoint:
path: "{{ SEC_VLT_BCK_Y_SVM }}:{{ dst_vol }}"
relationship_type: restore
source_snapshot: "{{ ANS_SNAP }}"
transferring_time_out: 28800
#initialize: False
<<: *input
the ansible scripts works creating RST mirrors
Unfortunately Ansible not; the playbook fails everytime due to timeout
"failed: [localhost] (item={'src_vol': 'volyyy_vault', 'dst_agg': 'aggrxxx', 'start_date': 20250101, 'duration': 2, 'src_snap': 'monthly.2024-03-01_0020', 'src_size': '536870912000'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dst_agg": "aggryyyy", "duration": 2, "src_size": "536870912000", "src_snap": "monthly.2024-03-01_0020", "src_vol": "volxxxx_vault", "start_date": 20250101}, "msg": "Error restoring SnapMirror Transfer: job reported error: Timeout error: Process still running, received {'job': {'uuid': '16874dfb-d9a4-11ef-a355-d039ea21313d', '_links': {'self': {'href': '/api/cluster/jobs/16874dfb-d9a4-11ef-a355-d039ea21313d'}}}}."}"