Rename variable (matrix_user_username
-> matrix_user_name
)
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
path: "{{ item.path }}"
|
||||
state: directory
|
||||
mode: 0750
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
with_items:
|
||||
- {path: "{{ matrix_client_element_data_path }}", when: true}
|
||||
@ -42,7 +42,7 @@
|
||||
version: "{{ matrix_client_element_docker_image.split(':')[1] }}"
|
||||
force: "yes"
|
||||
become: true
|
||||
become_user: "{{ matrix_user_username }}"
|
||||
become_user: "{{ matrix_user_name }}"
|
||||
register: matrix_client_element_git_pull_results
|
||||
when: "matrix_client_element_container_image_self_build | bool"
|
||||
|
||||
@ -75,7 +75,7 @@
|
||||
content: "{{ matrix_client_element_configuration | to_nice_json }}"
|
||||
dest: "{{ matrix_client_element_data_path }}/config.json"
|
||||
mode: 0644
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
|
||||
- name: Ensure Element location sharing map style installed
|
||||
@ -84,7 +84,7 @@
|
||||
content: "{{ matrix_client_element_location_sharing_map_style | to_nice_json }}"
|
||||
dest: "{{ matrix_client_element_data_path }}/map_style.json"
|
||||
mode: 0644
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
|
||||
- name: Ensure Element Web config files installed
|
||||
@ -92,7 +92,7 @@
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ matrix_client_element_data_path }}/{{ item.name }}"
|
||||
mode: 0644
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
with_items:
|
||||
- {src: "{{ role_path }}/templates/labels.j2", name: "labels"}
|
||||
|
Reference in New Issue
Block a user