mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-10 07: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
|
- name: Prepare
|
||||||
hosts: all
|
hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- name: Debug Message
|
- name: Ensure apt cache is updated
|
||||||
debug:
|
apt:
|
||||||
msg: No prepare steps required
|
update_cache: true
|
||||||
|
when: ansible_pkg_mgr == 'apt'
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
hosts: loadbalancer
|
hosts: loadbalancer
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Ensure apt cache is updated
|
||||||
|
apt:
|
||||||
|
update_cache: true
|
||||||
|
when: ansible_pkg_mgr == 'apt'
|
||||||
|
|
||||||
- name: Ensure HAProxy is installed
|
- name: Ensure HAProxy is installed
|
||||||
package:
|
package:
|
||||||
name: haproxy
|
name: haproxy
|
||||||
|
|
Loading…
Reference in a new issue