Using Molecule for Testing Ansible Roles

Over the last few weeks I found myself working on an Ansible role for one my clients. Unfortunately developing this role is not a piece of cake, so my “old ways” of testing weren’t going to cut it this time around. Let’s be honest.. even if you virtualize your local test environments with something like… Continue reading Using Molecule for Testing Ansible Roles

Ansible EX407V27 Exam Preparation: Configuring motd

The goal of this task will be configuring a welcome message per host group, each message will be different. Ansible installed, version 2.7 is preferred One ‘ansible’ user configured, with sudo privileges and passwordless access to all managed hosts 1 ansible-control node 3 managed-nodes Our inventory file should look something like this: In the same… Continue reading Ansible EX407V27 Exam Preparation: Configuring motd

Deploying WordPress in an Automated Way Using Ansible

Today we’ll be installing WordPress using Red Hat’s Ansible. Some hands-on experience with Linux and Ansible is expected. List of requirements is as follows: Ansible installed in the control node. In my case I’m using the latest version (2.9.3 at the moment this article was written) 1 node with IP address 192.168.0.10 (ansible-control) 1 node… Continue reading Deploying WordPress in an Automated Way Using Ansible