chore: use FQCN for module name

This commit is contained in:
Adrien Waksberg 2021-08-15 12:38:44 +02:00 committed by Adrien Waksberg
parent 4f486e69fe
commit ed5a18a096
2 changed files with 8 additions and 6 deletions

View file

@ -12,6 +12,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
### Changed
- chore: use FQCN for module name
- test: replace kitchen to molecule
## v1.0.0 - 2019-11-09

View file

@ -1,14 +1,15 @@
---
- name: install Haproxy
package:
name: haproxy
ansible.builtin.package:
name:
- haproxy
retries: 2
register: result
until: result is succeeded
tags: haproxy
- name: copy ssl certificates
copy:
ansible.builtin.copy:
content: '{{ item.value }}'
dest: /etc/haproxy/{{ item.key }}.pem
owner: root
@ -19,7 +20,7 @@
tags: haproxy
- name: copy IPs lists
copy:
ansible.builtin.copy:
content: "{{ item.value|join('\n') }}"
dest: '/etc/haproxy/{{ item.key }}.list'
owner: root
@ -32,7 +33,7 @@
tags: haproxy
- name: copy config file
template:
ansible.builtin.template:
src: haproxy.cfg.j2
dest: /etc/haproxy/haproxy.cfg
owner: root
@ -43,7 +44,7 @@
tags: haproxy
- name: enable ans start service
service:
ansible.builtin.service:
name: haproxy
enabled: true
state: started