I am not sure if it's related to load_sharing type snapmirror, but even with "initialize" set to "yes", the snapmirror is not initialized. Why?
- name: Create LS mirror of rootvol
na_ontap_snapmirror:
state: present
source_volume: "{{ svm }}_rootvol"
destination_volume: "{{ svm }}_rootvol_{{ item }}"
source_vserver: "{{ svm }}"
destination_vserver: "{{ svm }}"
initialize: yes
relationship_type: load_sharing
schedule: hourly
<<: *login
loop:
- "{{ nAmirrorvol }}"
- "{{ nBmirrorvol }}"