From 79a581327ad7f4b9e96462835effcf32ae3a1fe3 Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Tue, 3 Oct 2017 18:34:22 -0600 Subject: npm --- salt/openbook/ansible/files/gradle.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/salt/openbook/ansible/files/gradle.yaml b/salt/openbook/ansible/files/gradle.yaml index 04bed5a..7b6d8e8 100644 --- a/salt/openbook/ansible/files/gradle.yaml +++ b/salt/openbook/ansible/files/gradle.yaml @@ -6,6 +6,11 @@ apt_repository: repo: ppa:cwchien/gradle state: present + when: ansible_distribution == "Ubuntu" + + - name: "Add nodejs PPA" + shell: curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - + when: ansible_distribution == "Ubuntu" - name: "Update apt" apt: -- cgit v1.3