Skip to content

Commit

Permalink
restart ble service for agenda redownload
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Jun 17, 2024
1 parent 7a0741e commit 5e42676
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions services/ansible_openvpn/playbooks/restart_noisesensor_ble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- name: Reload ble agenda by restarting ble service
hosts: rpi
vars:
ansible_remote_tmp: /run/user/1000
tasks:
- name: Restart noisesensor services
become: true
ansible.builtin.systemd:
name: "{{ item }}"
daemon_reload: true
enabled: true
state: restarted
with_items:
- zeroble.service

0 comments on commit 5e42676

Please sign in to comment.