Rename variable (matrix_user_groupname -> matrix_group_name)

This commit is contained in:
Slavi Pantaleev
2025-04-29 10:35:26 +03:00
parent 9fc5cdab33
commit 3ee7deb2d7
89 changed files with 279 additions and 278 deletions

View File

@ -22,7 +22,7 @@
state: directory
mode: 0750
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
with_items:
- {path: "{{ matrix_hookshot_base_path }}", when: true}
- {path: "{{ matrix_hookshot_docker_src_files_path }}", when: "{{ matrix_hookshot_container_image_self_build }}"}
@ -82,7 +82,7 @@
dest: "{{ matrix_hookshot_base_path }}/config.yml"
mode: 0644
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
- name: Validate hookshot config.yml
ansible.builtin.command:
@ -108,7 +108,7 @@
dest: "{{ matrix_hookshot_base_path }}/registration.yml"
mode: 0644
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
- name: Ensure hookshot github private key file installed if github is enabled
ansible.builtin.copy:
@ -116,7 +116,7 @@
dest: "{{ matrix_hookshot_base_path }}/{{ matrix_hookshot_github_private_key_file }}"
mode: 0400
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
when: matrix_hookshot_github_enabled | bool and matrix_hookshot_github_private_key|length > 0
- name: Ensure matrix-hookshot container network is created
@ -132,7 +132,7 @@
dest: "{{ matrix_hookshot_base_path }}/{{ item }}"
mode: 0640
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
with_items:
- labels