diff options
author | Kamil Wiatrowski <kamilx.wiatrowski@intel.com> | 2018-06-07 05:13:01 +0100 |
---|---|---|
committer | Kamil Wiatrowski <kamilx.wiatrowski@intel.com> | 2018-09-28 16:47:42 +0200 |
commit | 24c5124e304b8e2854d98284f6ee4715a75ee735 (patch) | |
tree | 420ff7e0158e3a8c68d3e2710469fbcb9c06c853 /docker/ansible/roles/config_files/vars | |
parent | b52c942a4fbfc5023780d23954de953b817c6dc0 (diff) |
WIP: Add role to auto install docker on hosts
Auto install docker with dependencies on hosts:
apt install python
apt install python-pip
pip install docker-py
apt install docker.io
Set docker proxy using host proxy settings.
Updated documentation.
Change-Id: Ibec7e0a7e484d5a9a8656cd3598c3acc7c2e2184
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
Diffstat (limited to 'docker/ansible/roles/config_files/vars')
-rw-r--r-- | docker/ansible/roles/config_files/vars/main.yml | 5 |
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/" |