ansible recipes

Here are some small ansible snippets

run a command only if a file exists



cloud-init on slackware image

As cloud init doesnt exist packaged on slackware (and that’s probably better this way).

It retrieves openstack metadata for ssh keys and basic dhcp configuration :

create a new file called : /etc/rc.d/


edit your /etc/rc.d/rc.M depending on your runlevel


strace hints

strace truncate output of arguments by default to 32


If you dont’ want to abreviate : use option -s

no we have :



What does my soft open (files/sockets)

option -e open :

trace only the open system call


Output long traces to a file (good luck XD) :




make the zsh completion work for password-store

pass  is a password manager encrypted by gpg.

It’s capable of temporarily putting passwords on your clipboard and tracking password changes using a local git

You just need to download this file and move it under

then start a new z shell



25 years ago! happy birthday linux

On August 25, 1991, an obscure student in Finland named Linus Benedict Torvalds posted a message to the comp.os.minix Usenet newsgroup saying that he was working on a free operating system as a project to learn about the x86 architecture. He cannot possibly have known that he was launching a project that would change the computing industry in fundamental ways.

Hello everybody out there using minix –

I’m doing a (free) operating system (just a hobby, won’t be big and
professional like gnu) for 386(486) AT clones.  This has been brewing
since april, and is starting to get ready.  I’d like any feedback on
things people like/dislike in minix, as my OS resembles it somewhat
(same physical layout of the file-system (due to practical reasons)
among other things).

I’ve currently ported bash(1.08) and gcc(1.40), and things seem to work.
This implies that I’ll get something practical within a few months, and
I’d like to know what features most people would want.  Any suggestions
are welcome, but I won’t promise I’ll implement them 🙂

Linus (torv…

PS.  Yes – it’s free of any minix code, and it has a multi-threaded fs.
It is NOT protable (uses 386 task switching etc), and it probably never
will support anything other than AT-harddisks, as that’s all I have :-(.

migration haproxy 1.5 => 1.6

Depuis quelques versions, la nouvelle syntaxe pour définir un bloc impose un changement de :



le one-linner suivant permet de convertir toute les lignes problématiques du fichier haproxy.cfg :