Using Ansible to setup my machine

With an ansible script setup all the software for my dev workstation

The deployment of the software will be made with ansible-pull, without a remote machine. This is a little different from the classic client server deployment used with ansible and is, in a way, simpler.

To use ansible-pull we have to install ansible on the machine and download all the playbooks from a git repository.

This installation was tested on a clean virtual machine with Xubuntu 18.04.

Usage

Installation

Install ansible using pip. Alternative methods are available in the installation guide

sudo apt install git
sudo apt install python-pip
sudo pip install ansible

Run

ansible-pull -U https://github.com/gabrieleteotino/ansible-workstation.git -K

More examples

Gantsign has a lot of nice roles to use directly or take inspiration.

https://github.com/gantsign/ansible-role-postman https://github.com/gantsign/ansible-role-atom

https://github.com/gantsign/ansible-role-zram-config https://github.com/gantsign/ansible-role-xdesktop https://github.com/gantsign/ansible-role-dockbarx-launcher https://github.com/gantsign/ansible-role-default-web-browser