diff --git a/roles/collectd/postgres/templates/postgres.conf b/roles/collectd/postgres/templates/postgres.conf index 5d53877265..e6de1708ca 100644 --- a/roles/collectd/postgres/templates/postgres.conf +++ b/roles/collectd/postgres/templates/postgres.conf @@ -1,3 +1,3 @@ - Exec "nobody" "/usr/local/bin/collectd_postgres.sh" "-h" "{{ ansible_hostname }}" "-p" "10" + Exec "nobody" "/usr/local/bin/collectd_postgres.sh" "-h" "{{ ansible_fqdn }}" "-p" "10"