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
|
||||
|
@@ -6,4 +6,4 @@ restic_architecture: "amd64"
|
||||
restic_system: "{{ ansible_facts['system'] | lower }}"
|
||||
restic_download_url: "https://github.com/restic/restic/releases/download/v{{ restic_version }}/restic_{{ restic_version }}_{{ restic_system }}_{{ restic_architecture }}.bz2"
|
||||
|
||||
restic_repository: "{{ restic_s3_url }}/{{ inventory_hostname }}"
|
||||
restic_repository: "{{ restic_s3_url }}/{{ ansible_host }}"
|
||||
|
Reference in New Issue
Block a user