Rename variable (matrix_user_username -> matrix_user_name)

This commit is contained in:
Slavi Pantaleev
2025-04-29 10:34:10 +03:00
parent a59383fcc7
commit 9fc5cdab33
91 changed files with 352 additions and 351 deletions

View File

@ -10,7 +10,7 @@
path: "{{ item.path }}"
state: directory
mode: 0750
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
with_items:
- path: "{{ matrix_alertmanager_receiver_base_path }}"
@ -26,7 +26,7 @@
content: "{{ matrix_alertmanager_receiver_configuration | to_nice_yaml(indent=2, width=999999) }}"
dest: "{{ matrix_alertmanager_receiver_config_path }}/config.yml"
mode: 0644
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure matrix-alertmanager-receiver support files installed
@ -34,7 +34,7 @@
src: "{{ role_path }}/templates/{{ item }}.j2"
dest: "{{ matrix_alertmanager_receiver_base_path }}/{{ item }}"
mode: 0640
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
with_items:
- labels
@ -60,7 +60,7 @@
dest: "{{ matrix_alertmanager_receiver_container_src_path }}"
force: "yes"
become: true
become_user: "{{ matrix_user_username }}"
become_user: "{{ matrix_user_name }}"
register: matrix_alertmanager_receiver_git_pull_results
- name: Ensure matrix-alertmanager-receiver container image is built