infra/roles/signal-bots/handlers/main.yml

20 lines
444 B
YAML
Raw Permalink Normal View History

2024-05-19 04:44:05 +00:00
- name: install react-bot python dependencies
command: /usr/bin/pipenv run pip install git+https://github.com/lwesterhof/semaphore.git
args:
chdir: /home/react-bot/react-bot
become: true
become_user: react-bot
- name: systemctl daemon-reload
command: systemctl daemon-reload
- name: restart signald
service:
name: signald
state: restarted
- name: restart react-bot
service:
name: react-bot
state: restarted