From 1649065a4d00b191a66b7ef16f0aa7675f03dfff Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 11 May 2023 09:54:22 +0300 Subject: [PATCH] Fix yamllint-reported errors in matrix-dendrite Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2674 --- .../matrix-dendrite/tasks/setup_install.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/roles/custom/matrix-dendrite/tasks/setup_install.yml b/roles/custom/matrix-dendrite/tasks/setup_install.yml index 70ee45b9..2606dfea 100644 --- a/roles/custom/matrix-dendrite/tasks/setup_install.yml +++ b/roles/custom/matrix-dendrite/tasks/setup_install.yml @@ -7,14 +7,16 @@ owner: "{{ matrix_user_username }}" group: "{{ matrix_user_groupname }}" with_items: - - { path: "{{ matrix_dendrite_config_dir_path }}", when: true } - - { path: "{{ matrix_dendrite_bin_path }}", when: true } - - { path: "{{ matrix_dendrite_ext_path }}", when: true } - - { path: "{{ matrix_dendrite_nats_storage_path }}", when: true } - - { - path: "{{ matrix_dendrite_docker_src_files_path }}", - when: "{{ matrix_dendrite_container_image_self_build }}", - } + - path: "{{ matrix_dendrite_config_dir_path }}" + when: true + - path: "{{ matrix_dendrite_bin_path }}" + when: true + - path: "{{ matrix_dendrite_ext_path }}" + when: true + - path: "{{ matrix_dendrite_nats_storage_path }}" + when: true + - path: "{{ matrix_dendrite_docker_src_files_path }}" + when: "{{ matrix_dendrite_container_image_self_build }}" when: "item.when | bool" # This will throw a Permission Denied error if already mounted using fuse