Also add become for installation

This commit is contained in:
Rohit Gohri
2020-04-22 20:45:16 +05:30
committed by GitHub
parent 685487f198
commit 292cc2a2f4

View File

@ -41,4 +41,5 @@
state: "{{ telegraf_agent_package_state }}"
register: is_telegraf_package_installed
until: is_telegraf_package_installed is succeeded
become: yes
notify: "Restart Telegraf"