11 lines
229 B
YAML
11 lines
229 B
YAML
- name: update package cache
|
|
package:
|
|
update_cache: yes
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: restart telegraf
|
|
service:
|
|
name: telegraf
|
|
state: restarted
|
|
when: "'handler' not in ansible_skip_tags"
|