Using Ansible with Docker to Deploy a WordPress Service on Rancher

configuration management

Ansible is a configuration management and orchestration application that was recently acquired by Red Hat. Rancher is a platform for working with Docker containers.

In the following blog post, originally published on the official Rancher blog, you’ll read how to use Ansible and Docker to deploy a WordPress service on Rancher.

The article begins:

Over the last year I’ve been using Rancher with Ansible, and have found that using the two together can be incredibly useful. If you aren’t familiar with Ansible, it is a powerful configuration management tool which can be used to manage servers remotely without a daemon or agent running on the host. Instead, it uses SSH to connect with hosts, and applies tasks directly on the machines. Because of this, as long as you have SSH access to the host, (and Python) running on the host, you will be able to use Ansible to manage hosts remotely.

In this post, I will be using Ansible with Docker to automate the build out of a simple wordpress environment on a Rancher deployment. Specifically, I will include the following steps:

  • Installing Docker on my hosts using Ansible.
  • Setting up a fresh Rancher installation using Ansible.
  • Registering hosts with Rancher using Ansible.
  • Deploying the Application containers on the Hosts.

Preparing the Playbook

Read the complete article here.

Related Post:  How to monitor the official Elasticsearch image on Docker

configuration management

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
0
Hya, what do you think? Please comment.x
()
x
Algorithm 2020

Did you get your ticket yet?

Algorithm 2022 is a 3-day conference on blockchain, cryptocurrencies and AI set for Feb. 10 – 12, 2022, in Dallas. Speakers from the US Air Force, Ministry of Digital Transformation, Ukraine, and more. click that button to learn more and get your ticket. Use BSD20 code for 20% off ticket price.