mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
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:
@ -15,6 +15,7 @@
|
||||
- name: Download Telegraf apt key.
|
||||
apt_key:
|
||||
url: "https://repos.influxdata.com/influxdb.key"
|
||||
id: 2582E0C5
|
||||
state: present
|
||||
become: yes
|
||||
|
||||
|
Reference in New Issue
Block a user