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_hydrogen_data_path }}", when: true}
|
||||
@ -32,7 +32,7 @@
|
||||
version: "{{ matrix_client_hydrogen_docker_image.split(':')[1] }}"
|
||||
force: "yes"
|
||||
become: true
|
||||
become_user: "{{ matrix_user_username }}"
|
||||
become_user: "{{ matrix_user_name }}"
|
||||
register: matrix_client_hydrogen_git_pull_results
|
||||
|
||||
- name: Check if Hydrogen Docker image exists
|
||||
@ -73,7 +73,7 @@
|
||||
content: "{{ matrix_client_hydrogen_configuration | to_nice_json }}"
|
||||
dest: "{{ matrix_client_hydrogen_data_path }}/config.json"
|
||||
mode: 0644
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
|
||||
- name: Ensure Hydrogen additional config files installed
|
||||
@ -81,7 +81,7 @@
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ matrix_client_hydrogen_data_path }}/{{ item.name }}"
|
||||
mode: 0644
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
with_items:
|
||||
- {src: "{{ role_path }}/templates/nginx.conf.j2", name: "nginx.conf"}
|
||||
|
Reference in New Issue
Block a user