Skip to content

Commit 8ef6a97

Browse files
mattt416Kevin Carter
authored and
Kevin Carter
committed
Update maas_influxdata_key variable (#415)
In #414 we tried making this include conditional, however this playbook is still being included when run w/ older versions of ansible (1.9.6 as an example). Instead, we update maas_influxdata_key to have an id and keyserver key. This allows apt_key to work since it doesn't need to speak to https://repos.influxdata.com/ directly. Using ansible's apt_key with https://repos.influxdata.com/ fails because of SNI and: 1. ansible/ansible#32053 (not backported to 2.3.2.0) 2. ansible 1.9.6 doesn't seem to support SNI on Trusty (python < 2.7.9)
1 parent 5d9cd45 commit 8ef6a97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

playbooks/vars/maas-tigkstack.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
# Set the influxdata distro package source & key
1818
#
1919
maas_influxdata_key:
20-
url: "https://repos.influxdata.com/influxdb.key"
20+
keyserver: "keyserver.ubuntu.com"
21+
id: "2582E0C5"
2122

2223
maas_influxdata_repo:
2324
url: "deb https://repos.influxdata.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable"

tests/test.yml

-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@
2121

2222
# Run the tigk stack playbooks
2323
- include: "../playbooks/maas-tigkstack-all.yml"
24-
when: setup_maas_tigkstack is defined and setup_maas_tigkstack

0 commit comments

Comments
 (0)