Hi I’m new to Ansible so it might looks like a very basic question. I’ve read that Ansible is idempotent.
My question is related to how Ansbile handles operations invoked using the shell or command module.
Here is an example. For example I’ve a long running shell script that I invoked on the remote host using Ansible.
Now if I run the playbook multiple times will Ansible try to run the script again if it’s already running?
If not how does it know that the “specific script is already running” ?
In another variation of this scenario, what if I really want to run multiple versions of the same process on the remote host. How does Ansible handle that?
Thanks