Add yum_repo as privileged user

For #119
This commit is contained in:
Rohit Gohri
2020-04-22 19:45:15 +05:30
committed by GitHub
parent 8fdab6fdcd
commit 7b8809c311

View File

@ -20,6 +20,7 @@
baseurl: "{{ telegraf_yum_baseurl[ansible_distribution|lower] | default(telegraf_yum_baseurl['default']) }}"
gpgcheck: yes
gpgkey: https://repos.influxdata.com/influxdb.key
become: yes
when:
- telegraf_agent_package_method == "repo"