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