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

@ -11,7 +11,7 @@
state: directory
mode: 0750
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
with_items:
- {path: "{{ matrix_cactus_comments_client_base_path }}", when: true}
- {path: "{{ matrix_cactus_comments_client_public_path }}", when: true}
@ -22,7 +22,7 @@
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
mode: 0644
with_items:
- src: "{{ role_path }}/templates/env.j2"
@ -39,14 +39,14 @@
dest: "{{ matrix_cactus_comments_client_public_path }}/cactus.js"
mode: "{{ matrix_cactus_comments_client_public_path_file_permissions }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
- name: Download web client css
ansible.builtin.get_url:
url: "{{ matrix_cactus_comments_client_webclient_css_url }}"
dest: "{{ matrix_cactus_comments_client_public_path }}/style.css"
mode: "{{ matrix_cactus_comments_client_public_path_file_permissions }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
- when: matrix_cactus_comments_client_local_dir | length > 0
block:
@ -56,14 +56,14 @@
dest: "{{ matrix_cactus_comments_client_public_path }}/cactus.js"
mode: "{{ matrix_cactus_comments_client_public_path_file_permissions }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
- name: Upload locally distributed client CSS
ansible.builtin.copy:
src: "{{ matrix_cactus_comments_client_local_dir }}/src/style.css"
dest: "{{ matrix_cactus_comments_client_public_path }}/style.css"
mode: "{{ matrix_cactus_comments_client_public_path_file_permissions }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
group: "{{ matrix_group_name }}"
- name: Ensure matrix-cactus-comments-client container image is pulled
community.docker.docker_image: