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
6ecd2714
Commit
6ecd2714
authored
Jul 24, 2017
by
Daniel Berman
Committed by
GitHub
Jul 24, 2017
Browse files
Create main.yml
parent
e204b3d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
roles/java/tasks/main.yml
roles/java/tasks/main.yml
+21
-0
No files found.
roles/java/tasks/main.yml
0 → 100644
View file @
6ecd2714
----
#
# Install Java
#
-
name
:
Update and upgrade apt packages
become
:
true
apt
:
upgrade
:
yes
update_cache
:
yes
-
name
:
Install java 8 requirements
apt
:
name=python-software-properties
-
name
:
Add Java 8 repository
apt_repository
:
repo='ppa:webupd8team/java'
-
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
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