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_synapse_admin_base_path }}", when: true}
|
||||
@ -28,7 +28,7 @@
|
||||
ansible.builtin.template:
|
||||
src: "{{ role_path }}/templates/labels.j2"
|
||||
dest: "{{ matrix_synapse_admin_base_path }}/labels"
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
mode: 0640
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
content: "{{ matrix_synapse_admin_configuration | to_nice_json }}"
|
||||
dest: "{{ matrix_synapse_admin_config_path }}/config.json"
|
||||
mode: 0644
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
|
||||
- name: Ensure matrix-synapse-admin image is pulled
|
||||
@ -59,7 +59,7 @@
|
||||
version: "{{ matrix_synapse_admin_docker_image.split(':')[1] }}"
|
||||
force: "yes"
|
||||
become: true
|
||||
become_user: "{{ matrix_user_username }}"
|
||||
become_user: "{{ matrix_user_name }}"
|
||||
register: matrix_synapse_admin_git_pull_results
|
||||
when: matrix_synapse_admin_container_image_self_build | bool
|
||||
|
||||
|
Reference in New Issue
Block a user