Changing Ansible Playbook Depending On Operating System (Ansible)

Ansible's when command

When running an Ansible playbook (or roles) it becomes a little bit irksome to have to create new playbooks just because a device may have a different operating system. Thankfully the awesome people behind Ansible have a solution for this. A Little Background... I have my inventory set in a file called "inventory" in the … Continue reading Changing Ansible Playbook Depending On Operating System (Ansible)

Grafana, Prometheus and Node Exporter On Raspberry Pi via Ansible (Raspberry Pi and Linux)

Node Exporter dashboard showing system metrics

If you want to see metrics in real time and look at web dashboards then Grafana and Prometheus may be the tools you are looking for, and if you are anything like me then you probably want to automate as much of the install as possible via Ansible. My Set Up For this blog post … Continue reading Grafana, Prometheus and Node Exporter On Raspberry Pi via Ansible (Raspberry Pi and Linux)

The Basics Of tmux – The Terminal Multiplexer (Linux)

If you have ever found yourself launching multiple terminal / command line windows and then losing the window you needed, or find that your remote session to your Linux device has lost connectivity which means an active process also ending then tmux may be of help to you. tmux is a terminal multiplexer that allows … Continue reading The Basics Of tmux – The Terminal Multiplexer (Linux)

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)