haproxy: add tags
This commit is contained in:
parent
66a6e67de2
commit
74ac4c7570
|
@ -16,7 +16,7 @@
|
||||||
state: directory
|
state: directory
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- config
|
- ssl
|
||||||
|
|
||||||
- name: Self-signed certificate is present in HAProxy ssl directory
|
- name: Self-signed certificate is present in HAProxy ssl directory
|
||||||
shell: "cat /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/ssl/private/ssl-cert-snakeoil.key > /etc/haproxy/ssl/ssl-cert-snakeoil.pem"
|
shell: "cat /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/ssl/private/ssl-cert-snakeoil.key > /etc/haproxy/ssl/ssl-cert-snakeoil.pem"
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
notify: reload haproxy
|
notify: reload haproxy
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- config
|
- ssl
|
||||||
|
|
||||||
- name: HAProxy stats_access_ips are present
|
- name: HAProxy stats_access_ips are present
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
@ -39,6 +39,7 @@
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- config
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- name: HAProxy stats_admin_ips are present
|
- name: HAProxy stats_admin_ips are present
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
@ -52,6 +53,7 @@
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- config
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- name: HAProxy maintenance_ips are present
|
- name: HAProxy maintenance_ips are present
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
@ -62,6 +64,10 @@
|
||||||
{{ ip }}
|
{{ ip }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
notify: reload haproxy
|
notify: reload haproxy
|
||||||
|
tags:
|
||||||
|
- haproxy
|
||||||
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- name: HAProxy deny_ips are present
|
- name: HAProxy deny_ips are present
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
@ -72,6 +78,10 @@
|
||||||
{{ ip }}
|
{{ ip }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
notify: reload haproxy
|
notify: reload haproxy
|
||||||
|
tags:
|
||||||
|
- haproxy
|
||||||
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- include: packages_backports.yml
|
- include: packages_backports.yml
|
||||||
when: haproxy_backports
|
when: haproxy_backports
|
||||||
|
@ -100,6 +110,7 @@
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- config
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- name: Rotate logs with dateext
|
- name: Rotate logs with dateext
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
@ -109,7 +120,7 @@
|
||||||
insertbefore: '}'
|
insertbefore: '}'
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- config
|
- logrotate
|
||||||
|
|
||||||
- name: Rotate logs with nodelaycompress
|
- name: Rotate logs with nodelaycompress
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
@ -119,6 +130,6 @@
|
||||||
insertbefore: '}'
|
insertbefore: '}'
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- config
|
- logrotate
|
||||||
|
|
||||||
- include: munin.yml
|
- include: munin.yml
|
||||||
|
|
Loading…
Reference in a new issue