mirror of
https://github.com/paulscherrerinstitute/sf_daq_broker.git
synced 2026-05-11 22:45:37 +02:00
17 lines
486 B
YAML
17 lines
486 B
YAML
- name: clean daq machine from all receiver services
|
|
hosts: '{{ host }}'
|
|
become: true
|
|
tasks:
|
|
- name: stop, disable and remove services
|
|
shell: |
|
|
systemctl stop JF*
|
|
rm -rf /etc/systemd/system/multi-user.target.wants/JF*
|
|
rm -rf /etc/systemd/system/JF*
|
|
rm -rf /home/dbe/git /home/dbe/miniconda3 /home/dbe/service_scripts /home/dbe/bin
|
|
rm -rf /etc/telegraf/telegraf.d/JF*
|
|
systemctl restart telegraf
|
|
|
|
|
|
|
|
|