This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
update_cache: true
|
||||
notify:
|
||||
- Restart munin-node
|
||||
when: "'webservers' in group_names or 'loadbalancers' in group_names"
|
||||
when: "'webservers' in group_names or 'lbservers' in group_names"
|
||||
|
||||
# for HAProxy servers
|
||||
- name: Add haproxy backend module
|
||||
@@ -51,7 +51,7 @@
|
||||
state: link
|
||||
notify:
|
||||
- Restart munin-node
|
||||
when: "'loadbalancers' in group_names"
|
||||
when: "'lbservers' in group_names"
|
||||
|
||||
# For MariaDB servers
|
||||
- name: Install MariaDB servers
|
||||
|
@@ -34,7 +34,7 @@ ignore_file \.pod$
|
||||
# Set this if the client doesn't report the correct hostname when
|
||||
# telnetting to localhost, port 4949
|
||||
#
|
||||
host_name {{ inventory_hostname }}
|
||||
host_name {{ ansible_host }}
|
||||
|
||||
# A list of addresses that are allowed to connect. This must be a
|
||||
# regular expression, since Net::Server does not understand CIDR-style
|
||||
|
Reference in New Issue
Block a user