Hero Image

Blog

Ansible Tip - Referencing items from a hash

Ansible Tip - Referencing items from a hash

Let's say you are in the midst of writing an Ansible playbook and you need to reference multiple values from an 'item' in different places. Here's a neat code snippet that will allow you to do just that.

hosts: all 
vars:
  file_path_1: /usr/bin
  file_path_2: /example
  file_path_3: /opt
tasks:...
23rd Mar 2018 - IronicBadger
Building a cryptocurrency mining rig

Building a cryptocurrency mining rig

When I write for this site I like it to be a reflection of my current interests and right now, that is crypto mining. I'll share some of the tips and tricks I've learned over the last month or so building a 6 (soon to be 8) GPU mining rig.

Is it profitable?

Yes.

The basic calculations ar...

21st Jan 2018 - IronicBadger