Ansible for Configuration Management

Post tags: | ansible |

Use ansible to configure Ubuntu 14.04 server

research

Ansible is an open-source software platform for configuring and managing computers. It combines multi-node software deployment, ad hoc task execution, and configuration management. It manages nodes over SSH and requires Python (2.4 or later) to be installed on them. Modules work over JSON and standard output and can be written in any programming language. The system uses YAML to express reusable descriptions of systems.

Playbooks express configurations, deployment, and orchestration in Ansible. The Playbook format is YAML. Each Playbook maps a group of hosts to a set of roles. Each role is represented by calls to Ansible call tasks.

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.

Ansible - What Version To Pick?

If you are wishing to run the latest released version of Ansible and you are running Red Hat Enterprise Linux (TM), CentOS, Fedora, Debian, or Ubuntu, we recommend using the OS package manager.

On the managed nodes, you only need Python 2.4 or later, but if you are running less than Python 2.5 on the remotes, you will also need:

  • python-simplejson

Good Intro at DigitalOcean on using Ansible to configure Ubuntu

Gerhard Lazu

Gerhard Lazu The Why and How of Ansible and Docker

my little app

my little app Easy setup of your own Heroku clone with Ansible and Dokku

This is an Ansible playbook that from scratch will automatically turn a pristine server into your own Heroku clone. All you need is the server, a domain name, and a DNS service supporting alias records. Everything is powered by Dokku, which itself runs on Docker.

github.com/jnv/ansible-role-dokku-alt

Dokku Alternative Role for Ansible. Install Docker and dokku-alt using official PPAs and perform initial setup for Dokku.

serversforhackers.com An Ansible Tutorial

github.com/zenzire Boostrapping and securing an Ubuntu server