fix: all praise the allmighty yamllinter
This commit is contained in:
@ -50,10 +50,10 @@
|
||||
owner: "{{ matrix_user_username }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
with_items:
|
||||
- { path: "{{ matrix_mautrix_facebook_base_path }}", when: true }
|
||||
- { path: "{{ matrix_mautrix_facebook_config_path }}", when: true }
|
||||
- { path: "{{ matrix_mautrix_facebook_data_path }}", when: true }
|
||||
- { path: "{{ matrix_mautrix_facebook_docker_src_files_path }}", when: "{{ matrix_mautrix_facebook_container_image_self_build }}" }
|
||||
- {path: "{{ matrix_mautrix_facebook_base_path }}", when: true}
|
||||
- {path: "{{ matrix_mautrix_facebook_config_path }}", when: true}
|
||||
- {path: "{{ matrix_mautrix_facebook_data_path }}", when: true}
|
||||
- {path: "{{ matrix_mautrix_facebook_docker_src_files_path }}", when: "{{ matrix_mautrix_facebook_container_image_self_build }}"}
|
||||
when: item.when|bool
|
||||
|
||||
- name: Ensure Mautrix Facebook repository is present on self-build
|
||||
@ -74,7 +74,7 @@
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
path: "{{ matrix_mautrix_facebook_docker_src_files_path }}"
|
||||
pull: yes
|
||||
pull: true
|
||||
when: "matrix_mautrix_facebook_container_image_self_build|bool"
|
||||
|
||||
- name: Check if an old database file already exists
|
||||
@ -86,8 +86,8 @@
|
||||
service:
|
||||
name: matrix-mautrix-facebook
|
||||
state: stopped
|
||||
enabled: no
|
||||
daemon_reload: yes
|
||||
enabled: false
|
||||
daemon_reload: true
|
||||
failed_when: false
|
||||
when: "matrix_mautrix_facebook_stat_database.stat.exists"
|
||||
|
||||
@ -120,7 +120,7 @@
|
||||
|
||||
- name: Ensure systemd reloaded after matrix-mautrix-facebook.service installation
|
||||
service:
|
||||
daemon_reload: yes
|
||||
daemon_reload: true
|
||||
when: "matrix_mautrix_facebook_systemd_service_result.changed"
|
||||
|
||||
- name: Ensure matrix-mautrix-facebook.service restarted, if necessary
|
||||
|
Reference in New Issue
Block a user