---
- name: upgrade the node telegraf configuration
  hosts: all
  roles:
    - role: node-metrics
      become: True
  tasks:
    - name: restart telegraf service
      systemd:
        name: telegraf
        enabled: yes
        state: restarted
