Pin apt key ID

ID is specified so ansible can check if the key is already there without
downloading the file. Useful to keep the role woring when the key has
already been added on systems where DL won't work with the module
because of certificate validation (Ubuntu 14.04).
This commit is contained in:
Thomas Szymanski
2018-04-03 14:41:04 +02:00
parent f74ff634a7
commit f8677ca119

View File

@ -15,6 +15,7 @@
- name: Download Telegraf apt key.
apt_key:
url: "https://repos.influxdata.com/influxdb.key"
id: 2582E0C5
state: present
become: yes