homelab/roles/bitwarden/handlers/main.yml

17 lines
382 B
YAML
Raw Normal View History

2022-05-27 04:03:49 +00:00
- name: Stop Bitwarden for rebuild
service:
name: "{{ bitwarden_name }}"
state: stopped
listen: rebuild_bitwarden
2021-02-27 05:00:52 +00:00
- name: Rebuild Bitwarden
shell: "{{ bitwarden_root }}/bitwarden.sh rebuild"
listen: rebuild_bitwarden
2022-05-27 04:03:49 +00:00
- name: Start Bitwarden after rebuild
service:
name: "{{ bitwarden_name }}"
state: started
enabled: true
listen: rebuild_bitwarden