All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 14s
15 lines
324 B
YAML
15 lines
324 B
YAML
---
|
|
- name: Copy haproxy.cfg
|
|
ansible.builtin.template:
|
|
src: haproxy.cfg.jinja
|
|
dest: /etc/haproxy/haproxy.cfg
|
|
mode: '0600'
|
|
owner: root
|
|
group: root
|
|
notify: Reload haproxy
|
|
- name: Enable and start haproxy
|
|
ansible.builtin.systemd_service:
|
|
name: haproxy.service
|
|
state: started
|
|
enabled: true
|