Skip to content

Commit

Permalink
rm java check dbg print and ignore errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aisch committed Feb 14, 2016
1 parent b332d08 commit 030e982
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tasks/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
- name: "Check if Java is installed"
shell: command -v java
register: check_java
failed_when: check_java.rc not in (0, 1)
ignore_errors: True
changed_when: False
tags:
- kafka-install
- java

- name: "Was Java installed?"
debug: var=check_java

- name: "Install OpenJDK"
apt: name=openjdk-7-jre-headless state=present
sudo: yes
Expand Down

0 comments on commit 030e982

Please sign in to comment.