3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-02-28 01:43:10 +00:00

Quote YAML mode values to satisfy octal lint rules

This commit is contained in:
QEDeD
2026-02-16 11:07:09 +01:00
committed by Slavi Pantaleev
parent 7801b91aad
commit f0f496b6ba
76 changed files with 295 additions and 295 deletions

View File

@@ -10,7 +10,7 @@
url: "{{ matrix_synapse_ext_encryption_disabler_download_url }}"
dest: "{{ matrix_synapse_ext_path }}/matrix_e2ee_filter.py"
force: true
mode: 0440
mode: '0440'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
register: result

View File

@@ -17,7 +17,7 @@
url: "{{ matrix_synapse_ext_password_provider_rest_auth_download_url }}"
dest: "{{ matrix_synapse_ext_path }}/rest_auth_provider.py"
force: true
mode: 0440
mode: '0440'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
register: result

View File

@@ -15,7 +15,7 @@
ansible.builtin.file:
path: "{{ item }}"
state: directory
mode: 0750
mode: '0750'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
with_items:
@@ -26,19 +26,19 @@
ansible.builtin.template:
src: "{{ role_path }}/templates/synapse/ext/s3-storage-provider/env.j2"
dest: "{{ matrix_synapse_ext_s3_storage_provider_base_path }}/env"
mode: 0640
mode: '0640'
- name: Ensure s3-storage-provider database.yaml file installed
ansible.builtin.template:
src: "{{ role_path }}/templates/synapse/ext/s3-storage-provider/database.yaml.j2"
dest: "{{ matrix_synapse_ext_s3_storage_provider_data_path }}/database.yaml"
mode: 0640
mode: '0640'
- name: Ensure s3-storage-provider scripts installed
ansible.builtin.template:
src: "{{ role_path }}/templates/synapse/ext/s3-storage-provider/bin/{{ item }}.j2"
dest: "{{ matrix_synapse_ext_s3_storage_provider_bin_path }}/{{ item }}"
mode: 0750
mode: '0750'
with_items:
- shell
- migrate
@@ -47,7 +47,7 @@
ansible.builtin.template:
src: "{{ role_path }}/templates/synapse/ext/s3-storage-provider/systemd/{{ item }}.j2"
dest: "{{ devture_systemd_docker_base_systemd_path }}/{{ item }}"
mode: 0644
mode: '0644'
with_items:
- matrix-synapse-s3-storage-provider-migrate.service
- matrix-synapse-s3-storage-provider-migrate.timer

View File

@@ -22,7 +22,7 @@
url: "{{ matrix_synapse_ext_password_provider_shared_secret_auth_download_url }}"
dest: "{{ matrix_synapse_ext_path }}/shared_secret_authenticator.py"
force: true
mode: 0440
mode: '0440'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
register: result

View File

@@ -36,7 +36,7 @@
ansible.builtin.file:
path: "{{ matrix_s3_media_store_path }}"
state: directory
mode: 0750
mode: '0750'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
when: "not local_path_matrix_s3_media_store_path_stat.failed and not local_path_matrix_s3_media_store_path_stat.stat.exists"
@@ -46,10 +46,10 @@
src: "{{ role_path }}/templates/goofys/env-goofys.j2"
dest: "{{ matrix_synapse_config_dir_path }}/env-goofys"
owner: root
mode: 0600
mode: '0600'
- name: Ensure matrix-goofys.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/goofys/systemd/matrix-goofys.service.j2"
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-goofys.service"
mode: 0644
mode: '0644'

View File

@@ -46,7 +46,7 @@
ansible.builtin.file:
path: "{{ matrix_synapse_rust_synapse_compress_state_base_path }}"
state: directory
mode: 0750
mode: '0750'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"

View File

@@ -15,7 +15,7 @@
ansible.builtin.file:
path: "{{ item.path }}"
state: directory
mode: 0750
mode: '0750'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
with_items:

View File

@@ -28,7 +28,7 @@
ansible.builtin.file:
path: "{{ matrix_synapse_media_store_path }}"
state: directory
mode: 0750
mode: '0750'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
when: "not local_path_media_store_stat.failed and not local_path_media_store_stat.stat.exists"
@@ -86,7 +86,7 @@
dest: "{{ matrix_synapse_customized_docker_src_files_path }}/Dockerfile"
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
mode: 0640
mode: '0640'
register: matrix_synapse_container_image_customizations_dockerfile_result
- name: Ensure customized Docker image for Synapse is built
@@ -126,7 +126,7 @@
ansible.builtin.copy:
content: "{{ matrix_synapse_configuration | to_nice_yaml(indent=2, width=999999) }}"
dest: "{{ matrix_synapse_config_dir_path }}/homeserver.yaml"
mode: 0644
mode: '0644'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
@@ -162,5 +162,5 @@
dest: "{{ matrix_synapse_base_path }}/external_prometheus.yml.example"
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
mode: 0644
mode: '0644'
when: matrix_synapse_metrics_proxying_enabled | bool

View File

@@ -17,7 +17,7 @@
ansible.builtin.template:
src: "{{ role_path }}/templates/synapse/worker.yaml.j2"
dest: "{{ matrix_synapse_config_dir_path }}/{{ matrix_synapse_worker_config_file_name }}"
mode: 0644
mode: '0644'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
@@ -25,7 +25,7 @@
ansible.builtin.template:
src: "{{ role_path }}/templates/synapse/worker-labels.j2"
dest: "{{ matrix_synapse_base_path }}/{{ matrix_synapse_worker_labels_file_name }}"
mode: 0644
mode: '0644'
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
@@ -33,4 +33,4 @@
ansible.builtin.template:
src: "{{ role_path }}/templates/synapse/systemd/matrix-synapse-worker.service.j2"
dest: "{{ devture_systemd_docker_base_systemd_path }}/{{ matrix_synapse_worker_systemd_service_name }}.service"
mode: 0644
mode: '0644'