Installing And Configuring NGINX As A Reverse Proxy Via An Ansible Playbook

NGINX Ansible Playbook on GitHub

Today I am looking at installing and configuring NGINX with an Ansible playbook. In my previous blog posts I have looked at using an Ansible playbook to install the ELK (Elasticsearch, Logstash, Kibana) stack across three different computers, and then how Ansible roles can be used to organise a playbook. Note: The files for this … Continue reading Installing And Configuring NGINX As A Reverse Proxy Via An Ansible Playbook

Using Ansible Roles, aka ELK Stack Ansible Playbook (V2)

The ELK_Ansible_Playbook on GitHub

I have a working Ansible Playbook that installs the ELK stack (Elasticsearch, Logstash, Kibana and for this example, Filebeat) across three different computers. I have tested the playbook several times and it works each time which is a great sign, however the playbook itself is a little messy. Note: All the files for my ELK … Continue reading Using Ansible Roles, aka ELK Stack Ansible Playbook (V2)

Ansible In A Docker Container

Docker logo

Ansible and Docker are both powerful tools and in this blog post I aim to look at putting Ansible in a Docker container. I’m building on the work of https://hub.docker.com/r/philm/ansible_playbook/dockerfile/  Run Commands: docker run  -v “$(pwd)”:/ansible/playbooks geektechstuff/ansible_container:latest playbook.yml -i inventory_file_name Switches: -v maps a directory into the container (in above example current working directory of … Continue reading Ansible In A Docker Container

Using Ansible To Create And Manage Users (Linux / Raspberry Pi)

If you have multiple Linux devices (e.g. multiple Raspberry Pi computers) and multiple user accounts that need access to those devices (i.e. maybe a Code Club of pupils) and want their own user accounts on the devices it could be a lengthy process managing the accounts and devices. Which is where Ansible (https://www.ansible.com/) comes into … Continue reading Using Ansible To Create And Manage Users (Linux / Raspberry Pi)