Merge pull request #112 from dj-wasabi/fix-travis

Minor changes to get Travis working again
This commit is contained in:
Werner Dijkerman
2019-10-24 13:35:00 +02:00
committed by GitHub
3 changed files with 7 additions and 7 deletions

View File

@ -31,6 +31,7 @@ platforms:
command: /sbin/init
groups:
- telegraf
- debian
networks:
- name: telegraf
- name: telegraf-ubuntu
@ -39,6 +40,7 @@ platforms:
command: /sbin/init
groups:
- telegraf
- debian
networks:
- name: telegraf
- name: telegraf-opensuse
@ -57,11 +59,9 @@ provisioner:
lint:
name: ansible-lint
inventory:
host_vars:
telegraf-debian:
telegraf_agent_package: /tmp/telegraf_amd64.deb
telegraf_agent_package_method: online
group_vars:
debian:
telegraf_agent_package_method: online
all:
telegraf_agent_package_state: latest
telegraf_agent_output:

View File

@ -13,7 +13,7 @@
apt:
name:
- wget
- gpg
# - gpg
state: present
when:
- ansible_os_family == 'Debian'

View File

@ -72,7 +72,7 @@
- name: "Debian | Download Telegraf package (online)"
get_url:
url: https://dl.influxdata.com/telegraf/releases/{{ telegraf_agent_package_file_deb }}
dest: "{{ telegraf_agent_package }}"
dest: "{{ telegraf_agent_package_path }}/{{ telegraf_agent_package }}"
use_proxy: "{{ true if http_proxy is defined and http_proxy else false }}"
environment:
http_proxy: "{{ http_proxy | default(None) | default(omit) }}"
@ -94,7 +94,7 @@
- name: "Debian | Install Telegraf package"
apt:
deb: "{{ telegraf_agent_package }}"
deb: "{{ telegraf_agent_package_path }}/{{ telegraf_agent_package }}"
state: "present"
register: is_telegraf_package_installed
until: is_telegraf_package_installed is succeeded