Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Automation with Ansible

Question
Sylvie Greverend · Aug 25, 2019

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\"
s ^Var=1
"|csession ensapp

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?

Thank you

#DevOps #Ensemble

Source URL:https://community.intersystems.com/post/automation-ansible