summaryrefslogtreecommitdiff
path: root/salt/openbook/ansible/files/gradle.yaml
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-10-03 18:34:22 -0600
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-10-03 18:34:22 -0600
commit79a581327ad7f4b9e96462835effcf32ae3a1fe3 (patch)
tree78202f4bcccef4589b3992d49eb91df194257895 /salt/openbook/ansible/files/gradle.yaml
parent4ad015634fb1bd99098abe6bbb3543d2930f3ee5 (diff)
npm
Diffstat (limited to 'salt/openbook/ansible/files/gradle.yaml')
-rw-r--r--salt/openbook/ansible/files/gradle.yaml5
1 files changed, 5 insertions, 0 deletions
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: