Rename variable (matrix_user_username
-> matrix_user_name
)
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
path: "{{ item.path }}"
|
||||
state: directory
|
||||
mode: 0750
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
with_items:
|
||||
- path: "{{ matrix_media_repo_base_path }}"
|
||||
@ -30,7 +30,7 @@
|
||||
src: "{{ role_path }}/templates/media-repo/{{ item }}.j2"
|
||||
dest: "{{ matrix_media_repo_base_path }}/{{ item }}"
|
||||
mode: 0640
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
with_items:
|
||||
- env
|
||||
@ -41,7 +41,7 @@
|
||||
src: "{{ role_path }}/templates/media-repo/media-repo.yaml.j2"
|
||||
dest: "{{ matrix_media_repo_config_path }}/media-repo.yaml"
|
||||
mode: 0640
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
|
||||
- name: Ensure media-repo Docker image is pulled
|
||||
@ -65,7 +65,7 @@
|
||||
version: "{{ matrix_media_repo_docker_image.split(':')[1] }}"
|
||||
force: "yes"
|
||||
become: true
|
||||
become_user: "{{ matrix_user_username }}"
|
||||
become_user: "{{ matrix_user_name }}"
|
||||
register: matrix_media_repo_git_pull_results
|
||||
|
||||
- name: Check if media-repo Docker image exists
|
||||
@ -128,7 +128,7 @@
|
||||
src: "{{ matrix_media_repo_homeserver_signing_key }}"
|
||||
dest: "{{ matrix_media_repo_homeserver_signing_key }}.{{ matrix_homeserver_implementation }}.backup"
|
||||
mode: 0644
|
||||
owner: "{{ matrix_user_username }}"
|
||||
owner: "{{ matrix_user_name }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
|
||||
- name: Replace homeserver signing key with merged signing key
|
||||
|
Reference in New Issue
Block a user