Skip to content

Ansible

Getting started with Ansible – Creating the PostgreSQL instance

In the last three posts we did the initial Ansible setup, installed the operating system packages, created the PostgreSQL group and user and downloaded, compiled and installed the PostgreSQL binaries from source. In this post we’ll look at how we can use Ansible to create our first PostgreSQL instance. As a reminder this is our current playbook: [ansible@ansiblecontrol ansible]$ pwd… 

Getting started with Ansible – Installing OS packages, creating groups and users

It has been quite a while since the first post in this series: “Getting started with Ansible – Preparations“. If you recap from the initial post Ansible was running on the control host and this simple Ansible command: ansible postgres-servers -a “/bin/echo 11″ -f 5 … was successfully executed against the “postgres-servers” group. So far, so good. Getting Ansible up… 

Getting Ansible up and running on a SLES 12 SP1 host

Recently at a customer we had to setup Ansible on a SLES 12 SP1 host. In comparison to RedHat or Ubuntu based distributions there are some more steps to do as Ansible is not included in the standard SLES repositories. Here we go … Start with the user, group, directories and permissions: host:~ # groupadd ansible host:~ # useradd -g… 

Getting started with Ansible – Preparations

When your infrastructure landscape becomes larger and larger you definitely need a tool which helps you in managing your servers, no matter if pḧysical or virtual, running in the cloud or not. One tool (many others are around) which assists you in provisioning, configuration management and mass deployment is Ansible. If you look at the man page you can find…