Fix broken tests on Ubuntu 14 and Fedora 24.

This commit is contained in:
Jeff Geerling 2016-09-17 19:06:40 -05:00
parent 2ee88d785d
commit c49d938ab7
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ env:
- distro: fedora24
init: /usr/lib/systemd/systemd
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
playbook: test.yml
php_version: 5.6
- distro: ubuntu1604
init: /lib/systemd/systemd

View File

@ -7,6 +7,10 @@
php_enablerepo: "remi,remi-php70"
pre_tasks:
- name: Update apt cache.
apt: update_cache=yes
when: ansible_os_family == 'Debian'
- include_vars: test-vars-ubuntu1204.yml
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '12.04'