Skip to content

Commit

Permalink
Enable required tasks when not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
debo committed Oct 23, 2018
1 parent 0941cc1 commit f289c14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@

- name: Add dependencies repository
apt_repository: repo='ppa:webupd8team/java' update_cache=yes
when: not is_installed

- name: Set dependencies License
shell: echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
changed_when: false
when: not is_installed

- name: Install Dependencies
apt: pkg=oracle-java8-installer state=latest
when: not is_installed

- name: Download
get_url: >
Expand Down

0 comments on commit f289c14

Please sign in to comment.