Skip to content

Instantly share code, notes, and snippets.

@dougstanley
dougstanley / node.yml
Created June 30, 2017 16:00
Snippet of ansible role to install latest node
---
- name: Get Node Distro
set_fact:
node_distro: "{{ ansible_lsb.codename }}"
when: ansible_lsb.codename != "stretch"
- name: Get Node Distro stretch
set_fact:
node_distro: "jessie"
when: ansible_lsb.codename == "stretch"
# Because the node repo doesn't have a stretch release yet, so

Keybase proof

I hereby claim:

  • I am dougstanley on github.
  • I am dougstanley (https://keybase.io/dougstanley) on keybase.
  • I have a public key whose fingerprint is FA84 D720 70DD 917A 5C92 DA60 0C12 6347 3E0B 0422

To claim this, I am signing this object: