Hi,
I am new to ansible and hope that my post can be approved soon.
I wish to ask if ansible is capable of comparing files between client and server machine.
I did the action statement below but it compares between 2 files on server machine instead of 1 file on client and the other on server machine.
tasks:
- name: Compare between 2 files
action: shell diff /home/celine/Desktop/file1 /home/celine/Desktop/file2
What should be the correct action statement?
Thank you.