mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-05 13:23:30 +01:00
Fix Travis-CI build
This commit is contained in:
parent
f82f90aae0
commit
31debb2f5d
2 changed files with 9 additions and 3 deletions
|
@ -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 a new issue