you need to specify the file, which is contained in the 'item'
variable produced by the loop:

- replace:
   dest: "/home/ansible/cloning/{{item}}"
    regexp: "{{ansible_hostname}}"
    replace: "{{ansible_system}"
  with_filetree: "/home/ansible/cloning/"

-- 
----------
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to