How copy directory based on a hostname in a group in ansible?

I have 2 hosts in a group:

[group-1] 
hostname1
hostname2

I have 2 directories hostname1,hostname2 in my local. How can Iconstruct a task to copy hostname1 directory to host hostname1and for homename2 for a play something like this:

- name: copy_play
  hosts: group-1
  gather_facts: True
  roles:
    - vlsconfig