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

@ -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_bot_draupnir_base_path }}", when: true}
@ -29,7 +29,7 @@
ansible.builtin.template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
mode: 0644
with_items:
@ -55,7 +55,7 @@
version: "{{ matrix_bot_draupnir_docker_image.split(':')[1] }}"
force: "yes"
become: true
become_user: "{{ matrix_user_username }}"
become_user: "{{ matrix_user_name }}"
register: matrix_bot_draupnir_git_pull_results
when: "matrix_bot_draupnir_container_image_self_build | bool"
@ -75,7 +75,7 @@
content: "{{ matrix_bot_draupnir_configuration | to_nice_yaml(indent=2, width=999999) }}"
dest: "{{ matrix_bot_draupnir_config_path }}/production.yaml"
mode: 0644
owner: "{{ matrix_user_username }}"
owner: "{{ matrix_user_name }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure matrix-bot-draupnir container network is created