Hi,
I have three files,
host1.zip, host2.zip, host3.zip which are in the ansible server itself in a directory named "deploy".
And I have to copy the files the respective hosts.
host1.zip -----to-----> host1
host2.zip -----to-----> host2
host3.zip -----to-----> host3
I want ansible to look into the directory "deploy", check the files, match it with the hostnames and copy to the respective hosts.
How do I achieve the same ?
Regards,
Uday