Skip to content

Commit

Permalink
fix: ensure telegraf is running on uploaders
Browse files Browse the repository at this point in the history
The service should now be started automatically rather than be in a stopped state, which was
requested for development work.
  • Loading branch information
jacderida committed Dec 17, 2024
1 parent 95baf41 commit df2ed42
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions resources/ansible/uploaders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,9 @@
state: restarted
enabled: yes
# # The Telegraf service seems to need to be rebooted for metrics to start transmitting.
# - name: restart telegraf
# become: True
# ansible.builtin.systemd:
# name: telegraf
# state: restarted
# enabled: yes
- name: stop telegraf
- name: restart telegraf
become: True
ansible.builtin.systemd:
name: telegraf
state: stopped
enabled: no
state: restarted
enabled: yes

0 comments on commit df2ed42

Please sign in to comment.