It’s been a while now that I’ve heard of Ansible but I only started playing with a week ago. You may certainly know that I’m a Puppet lover, but this solution is more powerful than Puppet in my opinion.
So I started to migrate my personal Puppet to Ansible just to play with. Here are the pros:
No client needed on the clients, only SSH! It’s written in Python By default a lot of modules Not only a configuration management tool, it’s an orchestrator too!
If you already played with Puppet’s environments, you certainly know that the major problem is the static form of them. When you want to test something new (a module for example), it’s not quite easy without using environments. r10k bring the dynamic feature and easy module managment !
It’s really easy to maintain your modules without using a lot of git submodules. Simply declare your modules informations like that:
mod 'filemapper', :git => 'git://github.
I recently discovered a Vagrant plugin that manage the VirtualBox Guest Additions automatically. I mean, when you launch a virtual machine, it automatically checks if the Guest Additions are installed. If it’s not the case or if they are not up to date, installation of the latest version is made automatically !
Here is how to install it.
Several persons asked me how could they do slides like I did with MySQL/MariaDB for example. I mentioned that I used LaTeX with Beamer and they were all frighten by the technology and language (takes too long time to be able to use it).
I think that’s not totally wrong but once you’ve understand how it works…it’s fantastic. So for colleagues and friends, I’ve made a documentation on how to use beamer and provided a template to get a quick start on it.
Big resolution with small screens is more and more common and we’re facing a problem on fonts visualization as the readability is not optimal. We have a lot of non adapted fonts for retina display, even if most of them are not so bad. The solution to resolve that problem is to install additional fonts to replace the default one. And one of the best one I’ve seen is Infinality fonts !
Yesterday a colleague (Dimitri) tested a tool on this blog. He informed me that Varnish was disabled and PageSpeed may be the cause as this is the last modification I’ve made on the server.
After verification he was totally right ! By default, PageSpeed disable cache by serving HTML files with:
Cache-Control: no-cache, max-age=0 After reading the PageSpeed documentation on that topic, it is clear: PageSpeed needs to know how to purge the cache as it rewrites a lot of elements and it has the control instead of the application.
Following a previous post, I’ve enabled PageSpeed on both wiki and blog deimos.fr.
What I can say is, it’s very important to take the time to test every optimizations you want to add. I experienced for example issues on silly things like :
# Optimize browser rendering pagespeed EnableFilters lazyload_images; Some images weren’t shown if you didn’t refresh once again your page browser. I only had this problem on the blog and not the wiki.