How to sync two directories on same host using Ansible?
The copy module copies a file from the local or remote machine to a location on the remote machine. 

In order to copy the file from the remote machine itself, set remote_src to yes.

- name: Copy multiple Directories
          copy:
            src: "{{ item.src }}"
            dest: "{{ item.dest }}"
            mode: "{{ item.mode }}"
            remote_src: yes
          with_items:
             - { src: '/home_old/',dest: '/home/',mode: preserve}
             - { src: '/var_old/',dest: '/var/',mode: preserve}