Hi,
I think after we create the md ride , we need to wait for resync.
During the playbook running I was check the md status via "cat /proc/mdstat"
And I figure out that ,before the resync action finished ,we have done all of the steps and cleaned the test env.
I think we may need to wait the md ride finish its resync.
Wait the state become clean in "mdadm -D /dev/md127" before the next steps.
BR
Fine