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


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/011c5825-733a-4e3b-8dd2-f2b80ad49a75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to