Ansible – massively fix bash shellshock

Since the recently discovered bash vulnerabilty is forcing many IT specialist to run massive update to their systems, here you can find a simple ansible script to immediately update all your servers at once, would they be APT or YUM based. — – hosts: “{{deploy_host}}”   remote_user: ansible_user   sudo: yes   vars:     pkg_list_deb:       – bash     pkg_list_rpm:       – bash   tasks:…

Fixing Heartbleed with Ansible

First of all: this is a re-post of an article from another blog, I do not want to take someone else credit! You can find original post HERE 😉 Many thanks to its author, you save lot of my time! Just want to share it since it was really useful in fixing a bunch of…

Ansible: installazione su MacOsX

Visto che l’installazione di Ansible su OsX non è stata delle più agevoli, cerchiamo di fare un recap dei passi necessari. Innanzitutto dovrete installare XCode CLI (Command Line Interface). No, Xcode da solo non basta, se non siete sicuri se lo avete già installato o meno potete sfruttare il seguente comando per verificarne la presenza:…

Ansible: introduzione

Con questo post iniziamo finalmente a parlare di uno degli argomenti principali del Configuration Management: il deploy. Sulla scena esistono molti tool enterprise che occupano una grossa fetta di mercato come Puppet o Chef , ma io voglio parlarvi di un tool diverso: Ansible Ansible is a radically simple IT orchestration engine that makes your…

Start, Stop, Restart

ok, in attesa di argomenti più impegnativi, iniziamo con un post piuttosto semplice ma decisamente utile: gli script di startup degli applicativi. Quante volte avrete lanciato e rilanciato il vostro jetty/tomcat/jboss per testare e ri-testare il vostro applicativo, ma, una volta giunti sulla macchina di testing/integrazione/preproduzione/produzione, le cose non sono più cosi semplici: l’applicativo deve…