Skip to content

Commit

Permalink
Fix Travis-CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
xanmanning committed Feb 22, 2020
1 parent f82f90a commit 31debb2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 4 additions & 3 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- name: Prepare
hosts: all
tasks:
- name: Debug Message
debug:
msg: No prepare steps required
- name: Ensure apt cache is updated
apt:
update_cache: true
when: ansible_pkg_mgr == 'apt'
5 changes: 5 additions & 0 deletions molecule/highavailability/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
- name: Prepare
hosts: loadbalancer
tasks:
- name: Ensure apt cache is updated
apt:
update_cache: true
when: ansible_pkg_mgr == 'apt'

- name: Ensure HAProxy is installed
package:
name: haproxy
Expand Down

0 comments on commit 31debb2

Please sign in to comment.