Tue, 2015-04-07 11:41guillaumelefranc
In the first blog of these series, we've done a rapid walkthrough on how to use Ansible and Vagrant to start a master/slave pair. In this second post, we will delve into the inner workings of Ansible, explaining how to set up server inventories, automate MariaDB deployments, use configuration templates and much more.
Setting up an Ansible inventory
Once Ansible is setup with your usual package manager, the first task should be to create passwordless SSH keys and to setup the servers you want to manage for passwordless access. Setting up SSH keys is extensively described on the internet so I won't get into any details in this post.
The second task is to create a server inventory. This is as …
[Read more]