Automation with Ansible
Trying to modernize tasks I have to do on cache like change global variables on different servers, different namespaces....
Actually, I have a bash script doing ssh on each server and running bash script on each server like this
echo "zn \"namespace\"
But this is not clean/modular/..... I was thinking about using Ansible - as it is exactly what I need to do all the git pull. But I am not sure how to interact with cache. A shell ansible module - no way as it does not manage state...... Is there a way to interact with cache in a command line other than csession?
Any experience, advice, ansible module to share?