Fix double mv command
This commit is contained in:
parent
172b0fa88c
commit
bf446b6e15
|
@ -36,7 +36,6 @@
|
||||||
name: matrix-mautrix-facebook
|
name: matrix-mautrix-facebook
|
||||||
state: stopped
|
state: stopped
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
register: stopping_result
|
|
||||||
failed_when: false
|
failed_when: false
|
||||||
when: "matrix_mautrix_facebook_stat_database.stat.exists"
|
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"
|
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"
|
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
|
- name: Ensure mautrix-facebook config.yaml installed
|
||||||
copy:
|
copy:
|
||||||
content: "{{ matrix_mautrix_facebook_configuration|to_nice_yaml }}"
|
content: "{{ matrix_mautrix_facebook_configuration|to_nice_yaml }}"
|
||||||
|
|
Loading…
Reference in a new issue