Hello everyone,
I am new to Ansible and have been trying to use it to execute certain tasks(python tasks) in remote machines and collect the data from the machines to the controlling machine.So, primarily my major tasks are:
-
Tracking currently executing and completed jobs
-
Tracking the detailed configuration of each run.
-
Tracking the current datasets that have been generated and combined.
I am working on Linux Fedora Machine and using Ansible 2.1.0.0. I have been very confused with the notion of modules in Ansible. For the tasks listed above will I need to write any new modules or the ones shipped with Ansible are sufficient?
Also, I am confused about how to run a Python file in remote machines.I tried to first copy it and run it in the remote machine however had some problems with the destination folder in remote machines.Just curious can you put a sample path for the destination directory, because I have no idea how the path should be like.Link to any resources will be appreciated.
Thank you.