Here is an interesting tip for all who what to protect the sensitive information with ansible. Our example is simple enough – we want to…
Tag: ansible playbook
ansible – restart a (nginx) service only if it is running and the configuration is ok
Another ansible quick tip showing how to restart a program properly. We want to restart the program or the service only if it is running…
ansible – insert after only if the pattern exists and the new insert is not there
Here is a quick ansible tip for system administrators for the ansible lineinfile. Imagine you want to insert a line after a word (or a…