diff options
author | John O Loughlin <john.oloughlin@intel.com> | 2018-10-23 11:57:19 +0100 |
---|---|---|
committer | John O'Loughlin <john.oloughlin@intel.com> | 2018-10-31 10:06:59 +0000 |
commit | d9c7551a005494c025c03b3fd363acb0e5c74f9f (patch) | |
tree | 274844f1219fd810fd3b918dd1db8085cbf5d4ca /docker/ansible/roles/config_files/vars/main.yml | |
parent | 3e269c4c295e3dd81dfeaebe9de4c4a702e7f1d5 (diff) |
Add support for multi influx hosts
Added support for multiple influx hosts.
Fix issue where ansible crashes when influx_host is not defined
Change-Id: I348e53c9b6147b0fafffdebcd80037acb72d67ce
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'docker/ansible/roles/config_files/vars/main.yml')
-rw-r--r-- | docker/ansible/roles/config_files/vars/main.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docker/ansible/roles/config_files/vars/main.yml b/docker/ansible/roles/config_files/vars/main.yml index cbe64b3c..f12492a3 100644 --- a/docker/ansible/roles/config_files/vars/main.yml +++ b/docker/ansible/roles/config_files/vars/main.yml @@ -21,12 +21,12 @@ logfile_dir: "/var/log/" #global default interval interval_value: 10 +#influx network port +influx_network_port: 25826 + #network plugin vars -network_port: 25826 -#get influxdb name as defined in inventory -influxdb_hostname: "{{ (groups['influxdb_hosts']|default({}))[0] | default('localhost') }}" -#get hostname as used by ansible -network_ip_addr: "{{ hostvars[influxdb_hostname].ansible_hostname }}" +#network_port: 25826 +#network_ip_addr: localhost #prometheus plugin vars prometheus_port: 9103 |