Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #447 from chaintng/master
Browse files Browse the repository at this point in the history
require admin role to use update-alternatives
  • Loading branch information
Crazybus authored May 16, 2018
2 parents 0179bd1 + ffa98d2 commit 46d51ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

- name: Get the installed java path
shell: "update-alternatives --display java | grep '^/' | awk '{print $1}' | grep 1.8.0"
become: yes
register: java_full_path
failed_when: False
changed_when: False
Expand Down

0 comments on commit 46d51ad

Please sign in to comment.