Rename variable (matrix_user_username -> matrix_user_name)

This commit is contained in:
Slavi Pantaleev
2025-04-29 10:34:10 +03:00
parent a59383fcc7
commit 9fc5cdab33
91 changed files with 352 additions and 351 deletions

View File

@ -15,7 +15,7 @@
path: "{{ item.path }}"
state: directory
mode: 0750
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
with_items:
- path: "{{ matrix_dendrite_config_dir_path }}"
@ -44,7 +44,7 @@
path: "{{ matrix_dendrite_media_store_path }}"
state: directory
mode: 0750
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
when: "not local_path_media_store_stat.failed and not local_path_media_store_stat.stat.exists"
@ -79,7 +79,7 @@
ansible.builtin.file:
path: "{{ matrix_dendrite_config_dir_path }}/{{ matrix_server_fqn_matrix }}.signing.pem"
mode: 0644
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure Dendrite configuration installed
@ -87,7 +87,7 @@
content: "{{ matrix_dendrite_configuration | to_nice_yaml(indent=2, width=999999) }}"
dest: "{{ matrix_dendrite_config_dir_path }}/dendrite.yaml"
mode: 0644
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
- when: "matrix_dendrite_container_image_self_build | bool"
@ -99,7 +99,7 @@
version: "{{ matrix_dendrite_docker_image.split(':')[1] }}"
force: "yes"
become: true
become_user: "{{ matrix_user_username }}"
become_user: "{{ matrix_user_name }}"
register: matrix_dendrite_git_pull_results
- name: Check if Dendrite Docker image exists
@ -130,7 +130,7 @@
src: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: "{{ item.mode }}"
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
with_items:
- src: labels.j2