Browsed by
Category: Ansible

Using Ansible on RedHat / CentOS 7

Using Ansible on RedHat / CentOS 7

Ansible is a great tool for automation and orchestration and is getting a lot of attention. However it can sometimes be challenging to get the latest version working on your environment. This blog covers how to install the latest version of Ansible on RedHat Enterprise Linux or CentOS 7 environment. About RedHat/CentOS and Yum RedHat and CentOS have a great version control over the software versions that are distributed with each OS release. This provides reliability and compatibility through updates…

Read More Read More

Target Kubernetes nodes using Ansible

Target Kubernetes nodes using Ansible

This week I needed to update the NTP settings on a Kubernetes cluster. I could have used an Ansible inventory (as decribed here), but instead choose to make a dynamic Ansible inventory, by querying the nodes from Kubernetes. You can find the full playbook described here if you like. Creating a dynamic Ansible inventory The playbook I’ll use contains two Ansible plays. The first will query the Kubernetes nodes in the cluster and add those to the Ansible inventory, basically…

Read More Read More

Using Ansible Vault

Using Ansible Vault

The purpose of this lab is to show how to use Ansible Vault to protect sensitive data, like passwords, when working with Ansible. vTeam Specialization Program Pure Storage nominated me recently to join the Pure Storage vTeam Specialization program for New Stack. The idea behind the program is, to create an active community within Pure Storage. Allowing Puritans to learn and develop their skills and grow into a subject matter experts. The program consists of training and lab exercises that are focussed on…

Read More Read More

Using an inventory for Ansible

Using an inventory for Ansible

About this lab The purpose of this lab is to show the use of an inventory for Ansible to build a multi-host playbook. vTeam Specialization Program Pure Storage nominated me recently to join the Pure Storage vTeam Specialization program for New Stack. The idea behind the program is, to create an active community within Pure Storage. Allowing Puritans to learn and develop their skills and grow into a subject matter experts. The program consists of training and lab exercises that are focussed…

Read More Read More

Using Ansible facts and variables

Using Ansible facts and variables

About this lab The purpose of this lab is to show the use of variables and facts in an Ansible playbook. vTeam Specialization Program Pure Storage nominated me recently to join the Pure Storage vTeam Specialization program for New Stack. The idea behind the program is, to create an active community within Pure Storage. Allowing Puritans to learn and develop their skills and grow into a subject matter experts. The program consists of training and lab exercises that are focussed on developing…

Read More Read More

Clone WordPress using Ansible and PSO

Clone WordPress using Ansible and PSO

In this blog, I will clone WordPress using Ansible and PSO from production to development. Why this blog? Recently I was asked to prepare a demo that was part of a larger DevOps workshop for one of our customers. The idea was to show the value of using automation in a DevOps environment. By cloning WordPress using Ansible and PSO, developers have access to a test environment that closely resembles production and which can be refreshed quickly and easily. In…

Read More Read More

Introduction in Pure Storage Ansible modules

Introduction in Pure Storage Ansible modules

About this lab vTeam Specialization Program Recently I was nominated to join the Pure Storage vTeam Specialization Program for New Stack. The idea behind the program is to provide a community within Pure for Puritans to learn and develop skills and grow into a subject matter expert. The program consists of training and lab exercises that are focussed on developing experience in the New Stack space (Kubernetes, Ansible, Open Stack and more). And since I think there are more people out there…

Read More Read More

Reset a Kubernetes cluster using Kubespray

Reset a Kubernetes cluster using Kubespray

Sometimes you have those “Ooopppssss” moments, when you realize what you did, wasn’t the smartest thing to do. I had that this morning, when I wanted to get rid of a failed Kubernetes installation of Kubestone, since the latest release had a bug. My intention was to delete the clusterrolebindings that were created by the kubestone installation, for which I used the following command: When used for pods for example, this will delete all pods in the namespace kubestone-system, however…

Read More Read More

Using Ansible Ad-Hoc

Using Ansible Ad-Hoc

About this lab vTeam Specialization Program Recently I was nominated to join the Pure Storage vTeam Specialization Program for New Stack. The idea behind the program is to provide a community within Pure for Puritans to learn and develop skills and grow into a subject matter expert. The program consists of training and lab exercises that are focussed on developing experience in the New Stack space (Kubernetes, Ansible, Open Stack and more). And since I think there are more people out there…

Read More Read More

Kubespray (part 3/3): Deploy Kubernetes

Kubespray (part 3/3): Deploy Kubernetes

About this lab vTeam Specialization Program Recently I was nominated to join the Pure Storage vTeam Specialization Program for New Stack. The idea behind the program is to provide a community within Pure for Puritans to learn and develop skills and grow into a subject matter expert. The program consists of training and lab exercises that are focussed on developing experience in the New Stack space (Kubernetes, Ansible, Open Stack and more). And since I think there are more people out there…

Read More Read More