|
|
|
@ -36,7 +36,6 @@
|
|
|
|
|
name: matrix-mautrix-facebook
|
|
|
|
|
state: stopped
|
|
|
|
|
daemon_reload: yes
|
|
|
|
|
register: stopping_result
|
|
|
|
|
failed_when: false
|
|
|
|
|
when: "matrix_mautrix_facebook_stat_database.stat.exists"
|
|
|
|
|
|
|
|
|
@ -44,10 +43,6 @@
|
|
|
|
|
command: "mv {{ matrix_mautrix_facebook_base_path }}/mautrix-facebook.db {{ matrix_mautrix_facebook_data_path }}/mautrix-facebook.db"
|
|
|
|
|
when: "matrix_mautrix_facebook_stat_database.stat.exists"
|
|
|
|
|
|
|
|
|
|
- name: (Data relocation) Move mautrix-facebook database file to ./data directory
|
|
|
|
|
command: "mv {{ matrix_mautrix_facebook_base_path }}/mautrix-facebook.db {{ matrix_mautrix_facebook_data_path }}/mautrix-facebook.db"
|
|
|
|
|
when: "matrix_mautrix_facebook_stat_database.stat.exists"
|
|
|
|
|
|
|
|
|
|
- name: Ensure mautrix-facebook config.yaml installed
|
|
|
|
|
copy:
|
|
|
|
|
content: "{{ matrix_mautrix_facebook_configuration|to_nice_yaml }}"
|
|
|
|
|