In below example, after playbook run, it creates both mirrors on nodeA (nA) and nodeB (nB), but only nA rootvol mirror is initialized.
I think it's only related to load sharing mirrors.
Is this a bug?
- 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 }}"