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
743cb286
Commit
743cb286
authored
Jul 25, 2017
by
Daniel Berman
Committed by
GitHub
Jul 25, 2017
Browse files
Update main.yml
parent
b93b550d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
7 deletions
+23
-7
roles/java/tasks/main.yml
roles/java/tasks/main.yml
+23
-7
No files found.
roles/java/tasks/main.yml
View file @
743cb286
---
#
# Install Java 8
# Install
ing
Java 8
#
-
name
:
Install Java 8 requirements
shell
:
sudo apt-get install software-properties-common python-software-properties
# Update apt repos
-
name
:
Udpate apt
apt
:
update_cache
:
yes
# Install Java 8 requirements
-
name
:
Update apt packages
shell
:
sudo apt-get update
-
name
:
Install Java requirements
apt
:
name
:
python-software-properties
state
:
present
-
name
:
Install Java requirements
apt
:
name
:
software-properties-common
state
:
present
# Install Java 8
-
name
:
Install Java
8
shell
:
sudo apt-get install default-jre
-
name
:
Install Java 8
apt
:
name
:
defualt-jre
state
:
present
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