Hi,
Using ansible 2.4.0 on controller.
Remote is an ubuntu 14.04 LTS.
Python 2.7
I am trying to cat through passwd file, awk the first column, register that into a variable and then create a compressed archive of a remote dir based on that username.
I have read about using lookups, simple shell module, slurp but I cannot figure out how to do this on the remote host.
Can you please help me out with this?
Do let me know if you need any further information.
Thanks
Danish