Ansible playbook breaks while mounting /home on remote

Hi All

I have a requirement , where in I have to mount /home to a separate data disk on remote servers . I use ssh keys for executing ansible playbook from my control-node to towards remote server. Below is the small code

TASK 1 - take archive backup of /home directory
TASK 2 - Mount /home to a separate data disk
TASK 3 - extract the archive backup back to /home directory

TASK 1 runs fine , Task 2 as well serves its purpose( creates the /home mount point ) but then fails saying that /home/<ansible_user> directory not found .

I know the reason why it fails . It is because when you it mount the /home , all its contents are GONE !! ( this is default behavior of mount command ) including ssh keys . so thats why my next ansible connection doesn’t works.

I have a understanding that for every single task , ansible usually create fresh SSH connection which explains the reason why my playbook fails .

Is there any way in ansible to achieve what I am trying to do ?? I thought of using ansible PIPELINE as well by exporting the env variable ANSIBLE_PIPELINING and [ANSIBLE_SSH_PIPELINING](http://docs.ansible.com/ansible/latest/reference_appendices/config.html#envvar-ANSIBLE_SSH_PIPELINING) /
But this doesn't seems to work.

Any suggesstions ??? !!!