Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ijaz Ahmad
ansible-elk-playbook
Commits
75b74c23
Commit
75b74c23
authored
Jul 24, 2017
by
Daniel Berman
Committed by
GitHub
Jul 24, 2017
Browse files
Update main.yml
parent
4bc1f13c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
roles/java/tasks/main.yml
roles/java/tasks/main.yml
+6
-5
No files found.
roles/java/tasks/main.yml
View file @
75b74c23
...
...
@@ -2,20 +2,21 @@
#
# Install Java
#
-
name
:
Update and upgrade apt packages
-
name
:
Update and upgrade apt packages
become
:
true
apt
:
upgrade
:
yes
update_cache
:
yes
-
name
:
Install java 8 requirements
-
name
:
Install java 8 requirements
apt
:
name=python-software-properties
-
name
:
Add Java 8 repository
-
name
:
Add Java 8 repository
apt_repository
:
repo='ppa:webupd8team/java'
-
name
:
Agree to oracle license
-
name
:
Agree to oracle license
debconf
:
name=oracle-java8-installer question=shared/accepted-oracle-license-v1-1 vtype=select value=true
-
name
:
Install Java
8
-
name
:
Install Java
8
apt
:
name=oracle-java8-installer force=yes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment