Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad2bf7a

Browse files
committed
consistent use of single and double quotes
1 parent ce375da commit ad2bf7a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

roles/ganglia_metad/templates/gmetad.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651
4141
# data_source "another source" 1.3.4.7:8655 1.3.4.8
4242

43-
data_source "Hadoop" {{ hostvars[groups["masters"][0]]['ansible_default_ipv4']["address"] }} {{ hostvars[groups["masters"][1]]['ansible_default_ipv4']["address"] }}
43+
data_source "Hadoop" {{ hostvars[groups["masters"][0]]["ansible_default_ipv4"]["address"] }} {{ hostvars[groups["masters"][1]]["ansible_default_ipv4"]["address"] }}
4444

4545
#
4646
# Round-Robin Archives

roles/ganglia_monitor/templates/gmond.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ host {
3636
also have each node send the same information to more than one place for redundancy. */
3737

3838
udp_send_channel {
39-
host = {{ hostvars[groups["masters"][0]]['ansible_default_ipv4']["address"] }}
39+
host = {{ hostvars[groups["masters"][0]]["ansible_default_ipv4"]["address"] }}
4040
port = {{ ganglia_udp_send|default('8649') }}
4141
}
4242

4343
udp_send_channel {
44-
host = {{ hostvars[groups["masters"][1]]['ansible_default_ipv4']["address"] }}
44+
host = {{ hostvars[groups["masters"][1]]["ansible_default_ipv4"]["address"] }}
4545
port = {{ ganglia_udp_accept|default('8649') }}
4646
}
4747

roles/td_agent/templates/td-agent.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
<match syslog.**>
2020
type elasticsearch
2121
logstash_format true
22-
host {{ hostvars[groups["monitors"][0]]['ansible_default_ipv4']["address"] }}
22+
host {{ hostvars[groups["monitors"][0]]["ansible_default_ipv4"]["address"] }}
2323
</match>

0 commit comments

Comments
 (0)