Friends , Please help me on this
How to compare two DIRECOTY files in ansible .. i have one file called text.sh it is in one directory and i have two files in other diretory how to compare these two file , if no difference need to print no difference , else it need to print file has differen FIRST DIRECTOYR CAT SAM.TXT RAMESH:GANESH SECOND DIRECTOY HAS TWO FILES ls -l ram.txt ganessh.txt cat ram.txt RAMESH:GANESH cat ganessh.txt sankar:ganesh Now we have to compare the two folder , first folder alwasy contain one single file ,but second folder contact any number of files, Need to compare and if difference found we need to print there is difference in file. Thanks Shameer -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f9a570e7-9e23-4556-bda5-3b0a2389a771%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.