17 lines
382 B
YAML
Raw Normal View History

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