mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-22 11:48:22 +01:00
Fix Travis-CI build
This commit is contained in:
parent
f82f90aae0
commit
31debb2f5d
@ -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'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user