Skip to content
Snippets Groups Projects
Commit a5c8e001 authored by František Řezníček's avatar František Řezníček
Browse files

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

refactor: installing haproxy on bastion requires explicit apt update (moving to ubuntu/debian specific ansible module)
parent 3292d661
No related branches found
No related tags found
No related merge requests found
--- ---
#- name: Ensure HAProxy is installed.
# package: name=haproxy state=present
- name: Ensure HAProxy is installed. - 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). - name: Ensure HAProxy is enabled (so init script will start it on Debian).
lineinfile: lineinfile:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment