Skip to content
Snippets Groups Projects
Commit 2a0e3b16 authored by Ing. Klára Moravcová's avatar Ing. Klára Moravcová
Browse files

Add apt update for haproxy role.

parent 02a72adc
No related branches found
Tags v3.0.0
No related merge requests found
---
- name: Update and upgrade apt packages
become: true
apt:
upgrade: yes
update_cache: yes
cache_valid_time: 86400 #One day
- 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:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment