Commit 4b4f62af authored by Ross McDonald's avatar Ross McDonald
Browse files

Fixed bug with URL installation on Debian/Ubuntu.

parent 5750036c
......@@ -31,8 +31,12 @@
- name: Debug
debug: var=influxdb_install_url
- name: Install InfluxDB from URL [Debian/Ubuntu]
name: "{{ influxdb_install_url }}"
- name: Download InfluxDB package via URL [Debian/Ubuntu]
command: curl -o /tmp/influxdb-ansible-download.deb {{ influxdb_install_url }}
when: influxdb_install_url is defined and influxdb_install_url != None
- name: Install downloaded InfluxDB package [Debian/Ubuntu]
deb: /tmp/influxdb-ansible-download.deb
state: present
when: influxdb_install_url is defined and influxdb_install_url != None
......@@ -8,7 +8,7 @@ is_vagrant: no
# if you have a specific package/version you want to install from, you can specify a package
# URL here. Note that this does not modify any other logic, so installing older versions may
# lead to unexpected results. Use at your own risk.
# Whether or not to purge peer data on each run (useful for cluster testing). NOTE: This will
# cause data loss on an active cluster, so use caution
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment