summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: