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
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…
First ansible use – install and execute a single command or multiple tasks in a playbook
This article is to show you how easy is to use automation tools for managing your servers. If you are new to ansible this article…
ansible making a link: error – refusing to convert from file to symlink
A quick notice for your ansible scripts and as a reminder the right syntax for making a link with ansible is: src must be existing…