Skip to content
Snippets Groups Projects

refactor: installing haproxy on bastion requires explicit apt update (moving...

15 files
+ 84
7160
Compare changes
  • Side-by-side
  • Inline
Files
15
---
#- name: Ensure HAProxy is installed.
# package: name=haproxy state=present
- name: Ensure HAProxy is installed.
package: name=haproxy state=present
ansible.builtin.apt:
update_cache: true
name: haproxy
state: present
- name: Ensure HAProxy is enabled (so init script will start it on Debian).
lineinfile:
Loading