summaryrefslogtreecommitdiffstats
path: root/docker/ansible/roles/config_files/vars
diff options
context:
space:
mode:
authorAaron Smith <aasmith@redhat.com>2018-10-02 15:09:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-02 15:09:34 +0000
commit328129a1fd4ae54fe012379439464a56d15d4681 (patch)
treea89e97ab1027cc025bcf7d82ac4eb424d07cb0fb /docker/ansible/roles/config_files/vars
parentdda0e18b1dd1a9a2397f43262124d4de3dc424e7 (diff)
parent24c5124e304b8e2854d98284f6ee4715a75ee735 (diff)
Merge "WIP: Add role to auto install docker on hosts"
Diffstat (limited to 'docker/ansible/roles/config_files/vars')
-rw-r--r--docker/ansible/roles/config_files/vars/main.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/docker/ansible/roles/config_files/vars/main.yml b/docker/ansible/roles/config_files/vars/main.yml
index 37120d86..bfa0fd68 100644
--- a/docker/ansible/roles/config_files/vars/main.yml
+++ b/docker/ansible/roles/config_files/vars/main.yml
@@ -23,7 +23,7 @@ interval_value: 10
#network plugin vars
network_port: 25826
-network_ip_addr: localhost
+network_ip_addr: "{{ (groups['influxdb_hosts']|default({}))[0] | default('localhost') }}"
#ovs event and stats plugin vars
ovs_event_interval: 1
@@ -54,6 +54,3 @@ write_per_sec: 50
#additional configuration files path
additional_configs_path: ""
-
-#directory to copy types.db file to
-typesdb_dir: "/opt/collectd/share/collectd/"