Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

Commit

Permalink
Update travis to test cent
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Feb 6, 2018
1 parent fa2cefb commit 2db1335
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
services: docker

env:
# - distro: centos7
- distro: centos7
- distro: ubuntu1604

script:
Expand Down
6 changes: 6 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
karaf_java_packages: "{{ __karaf_java_packages }}"
when: karaf_java_packages is not defined

- name: Update apt cache
apt:
update_cache: yes
cache_valid_time: 600
when: ansible_os_family == "Debian"

- name: Install Java packages
package:
name: "{{ karaf_java_packages|join(',') }}"
Expand Down

0 comments on commit 2db1335

Please sign in to comment.