From 3ee7deb2d7ea00024848aefb067d7919aa062c2e Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 29 Apr 2025 10:35:26 +0300 Subject: [PATCH] Rename variable (`matrix_user_groupname` -> `matrix_group_name`) --- docs/configuring-playbook-bridge-hookshot.md | 2 +- docs/configuring-playbook-sygnal.md | 2 +- group_vars/matrix_servers | 4 ++-- .../matrix-alertmanager-receiver/tasks/install.yml | 6 +++--- .../tasks/install.yml | 4 ++-- .../tasks/setup_install.yml | 8 ++++---- .../matrix-authentication-service/tasks/install.yml | 6 +++--- roles/custom/matrix-base/defaults/main.yml | 4 ++-- roles/custom/matrix-base/tasks/setup_matrix_base.yml | 2 +- roles/custom/matrix-base/tasks/setup_matrix_user.yml | 4 ++-- roles/custom/matrix-base/tasks/validate_config.yml | 1 + roles/custom/matrix-bot-baibot/tasks/install.yml | 6 +++--- .../matrix-bot-buscarron/tasks/setup_install.yml | 4 ++-- roles/custom/matrix-bot-chatgpt/tasks/install.yml | 4 ++-- .../matrix-bot-draupnir/tasks/setup_install.yml | 6 +++--- roles/custom/matrix-bot-go-neb/tasks/install.yml | 6 +++--- .../matrix-bot-honoroit/tasks/setup_install.yml | 4 ++-- .../tasks/clean_cache.yml | 2 +- .../tasks/setup_install.yml | 4 ++-- .../tasks/setup_install.yml | 4 ++-- .../custom/matrix-bot-maubot/tasks/setup_install.yml | 8 ++++---- .../matrix-bot-mjolnir/tasks/setup_install.yml | 4 ++-- .../tasks/setup_install.yml | 6 +++--- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 12 ++++++------ .../tasks/setup_install.yml | 6 +++--- .../tasks/setup_install.yml | 6 +++--- .../tasks/setup_install.yml | 6 +++--- .../matrix-bridge-hookshot/tasks/setup_install.yml | 10 +++++----- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/install.yml | 8 ++++---- .../tasks/install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 6 +++--- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 12 ++++++------ .../tasks/setup_install.yml | 6 +++--- .../tasks/setup_install.yml | 6 +++--- .../tasks/setup_install.yml | 6 +++--- .../tasks/setup_install.yml | 8 ++++---- .../tasks/setup_install.yml | 6 +++--- .../tasks/setup_install.yml | 8 ++++---- .../matrix-bridge-postmoogle/tasks/setup_install.yml | 4 ++-- .../custom/matrix-bridge-sms/tasks/setup_install.yml | 8 ++++---- roles/custom/matrix-bridge-wechat/tasks/install.yml | 8 ++++---- .../matrix-cactus-comments-client/tasks/install.yml | 12 ++++++------ .../matrix-cactus-comments/tasks/setup_install.yml | 6 +++--- .../matrix-client-cinny/tasks/setup_install.yml | 6 +++--- .../matrix-client-element/tasks/setup_install.yml | 8 ++++---- .../matrix-client-fluffychat/tasks/setup_install.yml | 4 ++-- .../matrix-client-hydrogen/tasks/setup_install.yml | 6 +++--- .../tasks/setup_install.yml | 8 ++++---- roles/custom/matrix-conduit/tasks/setup_install.yml | 8 ++++---- roles/custom/matrix-conduwuit/tasks/install.yml | 8 ++++---- .../custom/matrix-conduwuit/tasks/setup_install.yml | 8 ++++---- roles/custom/matrix-continuwuity/tasks/install.yml | 8 ++++---- .../tasks/migrate_from_conduwuit.yml | 4 ++-- .../matrix-continuwuity/tasks/setup_install.yml | 8 ++++---- roles/custom/matrix-corporal/tasks/setup_install.yml | 6 +++--- roles/custom/matrix-coturn/tasks/setup_install.yml | 6 +++--- roles/custom/matrix-dendrite/tasks/setup_install.yml | 10 +++++----- .../custom/matrix-dimension/tasks/setup_install.yml | 2 +- .../matrix-dynamic-dns/tasks/setup_install.yml | 4 ++-- roles/custom/matrix-element-call/tasks/install.yml | 6 +++--- .../tasks/setup_install.yml | 6 +++--- .../matrix-livekit-jwt-service/tasks/install.yml | 4 ++-- roles/custom/matrix-ma1sd/tasks/setup_install.yml | 10 +++++----- .../custom/matrix-media-repo/tasks/setup_install.yml | 8 ++++---- roles/custom/matrix-pantalaimon/tasks/install.yml | 4 ++-- .../tasks/setup_install.yml | 6 +++--- roles/custom/matrix-rageshake/tasks/install.yml | 6 +++--- .../matrix-registration/tasks/setup_install.yml | 6 +++--- roles/custom/matrix-sliding-sync/tasks/install.yml | 4 ++-- roles/custom/matrix-static-files/tasks/install.yml | 6 +++--- roles/custom/matrix-sygnal/tasks/install.yml | 6 +++--- .../matrix-synapse-admin/tasks/setup_install.yml | 6 +++--- .../matrix-synapse-auto-compressor/tasks/install.yml | 6 +++--- .../tasks/setup_install.yml | 4 ++-- .../tasks/setup_install.yml | 4 ++-- .../tasks/setup_install.yml | 4 ++-- 89 files changed, 279 insertions(+), 278 deletions(-) diff --git a/docs/configuring-playbook-bridge-hookshot.md b/docs/configuring-playbook-bridge-hookshot.md index 07d2aea4c..47daebeac 100644 --- a/docs/configuring-playbook-bridge-hookshot.md +++ b/docs/configuring-playbook-bridge-hookshot.md @@ -127,7 +127,7 @@ aux_file_definitions: content: "{{ lookup('file', '/path/to/your-github-private-key.pem') }}" mode: '0400' owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" ``` For more information, see the documentation in the [default configuration of the aux role](https://github.com/mother-of-all-self-hosting/ansible-role-aux/blob/main/defaults/main.yml). diff --git a/docs/configuring-playbook-sygnal.md b/docs/configuring-playbook-sygnal.md index 69c2aee18..b746d2c62 100644 --- a/docs/configuring-playbook-sygnal.md +++ b/docs/configuring-playbook-sygnal.md @@ -50,7 +50,7 @@ aux_file_definitions: here mode: '0600' owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" ``` Configuring [GCM/FCM](https://firebase.google.com/docs/cloud-messaging/) is easier, as it only requires that you provide some config values. diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 5409e9220..8970ac9b4 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -74,10 +74,10 @@ matrix_federation_traefik_entrypoint_tls: "{{ traefik_config_entrypoint_web_secu ######################################################################## aux_directory_default_owner: "{{ matrix_user_name }}" -aux_directory_default_group: "{{ matrix_user_groupname }}" +aux_directory_default_group: "{{ matrix_group_name }}" aux_file_default_owner: "{{ matrix_user_name }}" -aux_file_default_group: "{{ matrix_user_groupname }}" +aux_file_default_group: "{{ matrix_group_name }}" ######################################################################## # # diff --git a/roles/custom/matrix-alertmanager-receiver/tasks/install.yml b/roles/custom/matrix-alertmanager-receiver/tasks/install.yml index c72689afb..d47c27837 100644 --- a/roles/custom/matrix-alertmanager-receiver/tasks/install.yml +++ b/roles/custom/matrix-alertmanager-receiver/tasks/install.yml @@ -11,7 +11,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_alertmanager_receiver_base_path }}" when: true @@ -27,7 +27,7 @@ dest: "{{ matrix_alertmanager_receiver_config_path }}/config.yml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-alertmanager-receiver support files installed ansible.builtin.template: @@ -35,7 +35,7 @@ dest: "{{ matrix_alertmanager_receiver_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-appservice-double-puppet/tasks/install.yml b/roles/custom/matrix-appservice-double-puppet/tasks/install.yml index d54c1b6a4..794f0ba99 100644 --- a/roles/custom/matrix-appservice-double-puppet/tasks/install.yml +++ b/roles/custom/matrix-appservice-double-puppet/tasks/install.yml @@ -10,7 +10,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_appservice_double_puppet_base_path }}" when: true @@ -24,4 +24,4 @@ dest: "{{ matrix_appservice_double_puppet_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" diff --git a/roles/custom/matrix-appservice-draupnir-for-all/tasks/setup_install.yml b/roles/custom/matrix-appservice-draupnir-for-all/tasks/setup_install.yml index c6fa3fbc8..18e1d43d3 100644 --- a/roles/custom/matrix-appservice-draupnir-for-all/tasks/setup_install.yml +++ b/roles/custom/matrix-appservice-draupnir-for-all/tasks/setup_install.yml @@ -17,7 +17,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_appservice_draupnir_for_all_base_path }}", when: true} - {path: "{{ matrix_appservice_draupnir_for_all_config_path }}", when: true} @@ -65,7 +65,7 @@ dest: "{{ matrix_appservice_draupnir_for_all_config_path }}/production-appservice.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-draupnir-for-all bot config installed ansible.builtin.copy: @@ -73,7 +73,7 @@ dest: "{{ matrix_appservice_draupnir_for_all_config_path }}/production-bots.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-draupnir-for-all registration.yaml installed ansible.builtin.copy: @@ -81,7 +81,7 @@ dest: "{{ matrix_appservice_draupnir_for_all_config_path }}/draupnir-for-all-registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-draupnir-for-all container network is created community.general.docker_network: diff --git a/roles/custom/matrix-authentication-service/tasks/install.yml b/roles/custom/matrix-authentication-service/tasks/install.yml index ad3a56d18..89ee7943b 100644 --- a/roles/custom/matrix-authentication-service/tasks/install.yml +++ b/roles/custom/matrix-authentication-service/tasks/install.yml @@ -10,7 +10,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_authentication_service_base_path }}", when: true} - {path: "{{ matrix_authentication_service_bin_path }}", when: true} @@ -39,7 +39,7 @@ dest: "{{ matrix_authentication_service_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Matrix Authentication Service support files created ansible.builtin.template: @@ -47,7 +47,7 @@ dest: "{{ item.dest }}" mode: "{{ item.mode }}" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - src: "{{ role_path }}/templates/env.j2" dest: "{{ matrix_authentication_service_config_path }}/env" diff --git a/roles/custom/matrix-base/defaults/main.yml b/roles/custom/matrix-base/defaults/main.yml index 5571a3b06..9e678c771 100644 --- a/roles/custom/matrix-base/defaults/main.yml +++ b/roles/custom/matrix-base/defaults/main.yml @@ -177,11 +177,11 @@ matrix_container_global_registry_prefix_override: "" matrix_user_name: "matrix" matrix_user_system: true -matrix_user_groupname: "matrix" +matrix_group_name: "matrix" matrix_group_system: true # By default, the playbook creates the user (`matrix_user_name`) -# and group (`matrix_user_groupname`) with a random ID. +# and group (`matrix_group_name`) with a random ID. # To use a specific user/group ID, override these variables. matrix_user_uid: ~ matrix_user_gid: ~ diff --git a/roles/custom/matrix-base/tasks/setup_matrix_base.yml b/roles/custom/matrix-base/tasks/setup_matrix_base.yml index 0ab3f8602..472889708 100644 --- a/roles/custom/matrix-base/tasks/setup_matrix_base.yml +++ b/roles/custom/matrix-base/tasks/setup_matrix_base.yml @@ -18,7 +18,7 @@ state: directory mode: "{{ matrix_base_data_path_mode }}" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - "{{ matrix_base_data_path }}" - "{{ matrix_bin_path }}" diff --git a/roles/custom/matrix-base/tasks/setup_matrix_user.yml b/roles/custom/matrix-base/tasks/setup_matrix_user.yml index 0d92bd31d..a7a09f284 100644 --- a/roles/custom/matrix-base/tasks/setup_matrix_user.yml +++ b/roles/custom/matrix-base/tasks/setup_matrix_user.yml @@ -7,7 +7,7 @@ - name: Ensure Matrix group is created ansible.builtin.group: - name: "{{ matrix_user_groupname }}" + name: "{{ matrix_group_name }}" gid: "{{ omit if matrix_user_gid is none else matrix_user_gid }}" state: present system: "{{ matrix_group_system }}" @@ -18,7 +18,7 @@ name: "{{ matrix_user_name }}" uid: "{{ omit if matrix_user_uid is none else matrix_user_uid }}" state: present - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" home: "{{ matrix_base_data_path }}" create_home: false system: "{{ matrix_user_system }}" diff --git a/roles/custom/matrix-base/tasks/validate_config.yml b/roles/custom/matrix-base/tasks/validate_config.yml index 8a64d2973..c372ee03b 100644 --- a/roles/custom/matrix-base/tasks/validate_config.yml +++ b/roles/custom/matrix-base/tasks/validate_config.yml @@ -33,6 +33,7 @@ - {'old': 'matrix_client_element_e2ee_secure_backup_setup_methods', 'new': 'matrix_static_files_file_matrix_client_property_io_element_e2ee_secure_backup_setup_methods'} - {'old': 'matrix_container_global_registry_prefix', 'new': ''} - {'old': 'matrix_user_username', 'new': 'matrix_user_name'} + - {'old': 'matrix_user_groupname', 'new': 'matrix_group_name'} # We have a dedicated check for this variable, because we'd like to have a custom (friendlier) message. - name: Fail if matrix_homeserver_generic_secret_key is undefined diff --git a/roles/custom/matrix-bot-baibot/tasks/install.yml b/roles/custom/matrix-bot-baibot/tasks/install.yml index d8bb15314..13a13e797 100644 --- a/roles/custom/matrix-bot-baibot/tasks/install.yml +++ b/roles/custom/matrix-bot-baibot/tasks/install.yml @@ -11,7 +11,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_baibot_base_path }}", when: true} - {path: "{{ matrix_bot_baibot_config_path }}", when: true} @@ -25,14 +25,14 @@ dest: "{{ matrix_bot_baibot_config_path }}/config.yml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure baibot environment variables file created ansible.builtin.template: src: "{{ role_path }}/templates/env.j2" dest: "{{ matrix_bot_baibot_config_path }}/env" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 - name: Ensure baibot container image is pulled diff --git a/roles/custom/matrix-bot-buscarron/tasks/setup_install.yml b/roles/custom/matrix-bot-buscarron/tasks/setup_install.yml index 8dc7715e8..89bf6d48f 100644 --- a/roles/custom/matrix-bot-buscarron/tasks/setup_install.yml +++ b/roles/custom/matrix-bot-buscarron/tasks/setup_install.yml @@ -40,7 +40,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_buscarron_config_path }}", when: true} - {path: "{{ matrix_bot_buscarron_data_path }}", when: true} @@ -53,7 +53,7 @@ src: "{{ role_path }}/templates/{{ item }}.j2" dest: "{{ matrix_bot_buscarron_config_path }}/{{ item }}" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 with_items: - env diff --git a/roles/custom/matrix-bot-chatgpt/tasks/install.yml b/roles/custom/matrix-bot-chatgpt/tasks/install.yml index c25999ab9..ea22800d8 100644 --- a/roles/custom/matrix-bot-chatgpt/tasks/install.yml +++ b/roles/custom/matrix-bot-chatgpt/tasks/install.yml @@ -11,7 +11,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_chatgpt_config_path }}", when: true} - {path: "{{ matrix_bot_chatgpt_data_path }}", when: true} @@ -23,7 +23,7 @@ src: "{{ role_path }}/templates/env.j2" dest: "{{ matrix_bot_chatgpt_config_path }}/env" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 - name: Ensure chatgpt container image is pulled diff --git a/roles/custom/matrix-bot-draupnir/tasks/setup_install.yml b/roles/custom/matrix-bot-draupnir/tasks/setup_install.yml index cb3a0e366..5693da0a0 100644 --- a/roles/custom/matrix-bot-draupnir/tasks/setup_install.yml +++ b/roles/custom/matrix-bot-draupnir/tasks/setup_install.yml @@ -17,7 +17,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_draupnir_base_path }}", when: true} - {path: "{{ matrix_bot_draupnir_config_path }}", when: true} @@ -30,7 +30,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/labels.j2" @@ -76,7 +76,7 @@ dest: "{{ matrix_bot_draupnir_config_path }}/production.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-bot-draupnir container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bot-go-neb/tasks/install.yml b/roles/custom/matrix-bot-go-neb/tasks/install.yml index 5f15dc913..54cdec680 100644 --- a/roles/custom/matrix-bot-go-neb/tasks/install.yml +++ b/roles/custom/matrix-bot-go-neb/tasks/install.yml @@ -16,7 +16,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_go_neb_config_path }}", when: true} - {path: "{{ matrix_bot_go_neb_data_path }}", when: true} @@ -29,7 +29,7 @@ dest: "{{ matrix_bot_go_neb_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure go-neb support files installed ansible.builtin.template: @@ -37,7 +37,7 @@ dest: "{{ matrix_bot_go_neb_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - env - labels diff --git a/roles/custom/matrix-bot-honoroit/tasks/setup_install.yml b/roles/custom/matrix-bot-honoroit/tasks/setup_install.yml index be939b620..18b3e4932 100644 --- a/roles/custom/matrix-bot-honoroit/tasks/setup_install.yml +++ b/roles/custom/matrix-bot-honoroit/tasks/setup_install.yml @@ -42,7 +42,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_honoroit_config_path }}", when: true} - {path: "{{ matrix_bot_honoroit_data_path }}", when: true} @@ -55,7 +55,7 @@ src: "{{ role_path }}/templates/{{ item }}.j2" dest: "{{ matrix_bot_honoroit_config_path }}/{{ item }}" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 with_items: - env diff --git a/roles/custom/matrix-bot-matrix-registration-bot/tasks/clean_cache.yml b/roles/custom/matrix-bot-matrix-registration-bot/tasks/clean_cache.yml index 55a6bed5c..5e599ec50 100644 --- a/roles/custom/matrix-bot-matrix-registration-bot/tasks/clean_cache.yml +++ b/roles/custom/matrix-bot-matrix-registration-bot/tasks/clean_cache.yml @@ -10,7 +10,7 @@ path: "{{ matrix_bot_matrix_registration_bot_data_path }}" mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - absent - directory diff --git a/roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml b/roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml index cc3ee82bb..e9956a335 100644 --- a/roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml +++ b/roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml @@ -14,7 +14,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_matrix_registration_bot_config_path }}", when: true} - {path: "{{ matrix_bot_matrix_registration_bot_data_path }}", when: true} @@ -26,7 +26,7 @@ src: "{{ role_path }}/templates/config.yaml.j2" dest: "{{ matrix_bot_matrix_registration_bot_config_path }}/config.yaml" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 - name: Ensure matrix-registration-bot image is pulled diff --git a/roles/custom/matrix-bot-matrix-reminder-bot/tasks/setup_install.yml b/roles/custom/matrix-bot-matrix-reminder-bot/tasks/setup_install.yml index 4c8be3d4c..664b042a8 100644 --- a/roles/custom/matrix-bot-matrix-reminder-bot/tasks/setup_install.yml +++ b/roles/custom/matrix-bot-matrix-reminder-bot/tasks/setup_install.yml @@ -44,7 +44,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_matrix_reminder_bot_config_path }}", when: true} - {path: "{{ matrix_bot_matrix_reminder_bot_data_path }}", when: true} @@ -93,7 +93,7 @@ dest: "{{ matrix_bot_matrix_reminder_bot_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-reminder-bot container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bot-maubot/tasks/setup_install.yml b/roles/custom/matrix-bot-maubot/tasks/setup_install.yml index 9f4a90270..75f710ad0 100644 --- a/roles/custom/matrix-bot-maubot/tasks/setup_install.yml +++ b/roles/custom/matrix-bot-maubot/tasks/setup_install.yml @@ -15,7 +15,7 @@ state: directory mode: 0755 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_maubot_base_path }}", when: true} - {path: "{{ matrix_bot_maubot_config_path }}", when: true} @@ -32,7 +32,7 @@ src: "{{ role_path }}/templates/config.yaml.j2" dest: "{{ matrix_bot_maubot_config_path }}/config.yaml" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: "u=rwx" - name: Ensure maubot image is pulled @@ -77,7 +77,7 @@ src: "{{ role_path }}/templates/customizations/Dockerfile.j2" dest: "{{ matrix_bot_maubot_customized_docker_src_files_path }}/Dockerfile" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 register: matrix_bot_maubot_container_image_customizations_dockerfile_result @@ -97,7 +97,7 @@ dest: "{{ matrix_bot_maubot_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bot-mjolnir/tasks/setup_install.yml b/roles/custom/matrix-bot-mjolnir/tasks/setup_install.yml index 5562a3e2e..8aea69a3c 100644 --- a/roles/custom/matrix-bot-mjolnir/tasks/setup_install.yml +++ b/roles/custom/matrix-bot-mjolnir/tasks/setup_install.yml @@ -19,7 +19,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_bot_mjolnir_base_path }}", when: true} - {path: "{{ matrix_bot_mjolnir_config_path }}", when: true} @@ -67,7 +67,7 @@ dest: "{{ matrix_bot_mjolnir_config_path }}/production.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-bot-mjolnir container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-appservice-discord/tasks/setup_install.yml b/roles/custom/matrix-bridge-appservice-discord/tasks/setup_install.yml index 0f1cb199f..578cb4b37 100644 --- a/roles/custom/matrix-bridge-appservice-discord/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-appservice-discord/tasks/setup_install.yml @@ -57,7 +57,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - "{{ matrix_appservice_discord_base_path }}" - "{{ matrix_appservice_discord_config_path }}" @@ -94,7 +94,7 @@ dest: "{{ matrix_appservice_discord_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure AppService Discord registration.yaml installed ansible.builtin.copy: @@ -102,7 +102,7 @@ dest: "{{ matrix_appservice_discord_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" # If `matrix_appservice_discord_client_id` hasn't changed, the same invite link would be generated. # We intentionally suppress Ansible changes. diff --git a/roles/custom/matrix-bridge-appservice-irc/tasks/setup_install.yml b/roles/custom/matrix-bridge-appservice-irc/tasks/setup_install.yml index 8e73c1b5d..79b51ab6f 100644 --- a/roles/custom/matrix-bridge-appservice-irc/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-appservice-irc/tasks/setup_install.yml @@ -23,7 +23,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_appservice_irc_base_path }}", when: true} - {path: "{{ matrix_appservice_irc_config_path }}", when: true} @@ -119,7 +119,7 @@ dest: "{{ matrix_appservice_irc_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Generate Appservice IRC passkey if it doesn't exist ansible.builtin.shell: @@ -135,7 +135,7 @@ path: "{{ matrix_appservice_irc_data_path }}/passkey.pem" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" # Ideally, we'd like to generate the final registration.yaml file by ourselves. # @@ -199,7 +199,7 @@ dest: "{{ matrix_appservice_irc_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-irc container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-appservice-kakaotalk/tasks/setup_install.yml b/roles/custom/matrix-bridge-appservice-kakaotalk/tasks/setup_install.yml index 046b4a803..291928df8 100644 --- a/roles/custom/matrix-bridge-appservice-kakaotalk/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-appservice-kakaotalk/tasks/setup_install.yml @@ -36,7 +36,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_appservice_kakaotalk_base_path }}", when: true} - {path: "{{ matrix_appservice_kakaotalk_config_path }}", when: true} @@ -85,7 +85,7 @@ dest: "{{ matrix_appservice_kakaotalk_config_path }}/node-config.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-kakaotalk config.yaml installed ansible.builtin.copy: @@ -93,7 +93,7 @@ dest: "{{ matrix_appservice_kakaotalk_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-kakaotalk registration.yaml installed ansible.builtin.copy: @@ -101,7 +101,7 @@ dest: "{{ matrix_appservice_kakaotalk_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-kakaotalk container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-appservice-slack/tasks/setup_install.yml b/roles/custom/matrix-bridge-appservice-slack/tasks/setup_install.yml index 41a9f26d6..496c4556e 100644 --- a/roles/custom/matrix-bridge-appservice-slack/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-appservice-slack/tasks/setup_install.yml @@ -18,7 +18,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_appservice_slack_base_path }}", when: true} - {path: "{{ matrix_appservice_slack_config_path }}", when: true} @@ -84,7 +84,7 @@ dest: "{{ matrix_appservice_slack_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure appservice-slack registration.yaml installed ansible.builtin.copy: @@ -92,7 +92,7 @@ dest: "{{ matrix_appservice_slack_config_path }}/slack-registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-slack container network is created community.general.docker_network: @@ -107,7 +107,7 @@ dest: "{{ matrix_appservice_slack_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-appservice-webhooks/tasks/setup_install.yml b/roles/custom/matrix-bridge-appservice-webhooks/tasks/setup_install.yml index ccb8d31cd..a68bbc805 100644 --- a/roles/custom/matrix-bridge-appservice-webhooks/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-appservice-webhooks/tasks/setup_install.yml @@ -18,7 +18,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_appservice_webhooks_base_path }}", when: true} - {path: "{{ matrix_appservice_webhooks_config_path }}", when: true} @@ -67,7 +67,7 @@ dest: "{{ matrix_appservice_webhooks_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-webhooks schema.yml template exists ansible.builtin.template: @@ -75,7 +75,7 @@ dest: "{{ matrix_appservice_webhooks_config_path }}/schema.yml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-webhooks database.json template exists ansible.builtin.template: @@ -83,7 +83,7 @@ dest: "{{ matrix_appservice_webhooks_data_path }}/database.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure appservice-webhooks registration.yaml installed ansible.builtin.copy: @@ -91,7 +91,7 @@ dest: "{{ matrix_appservice_webhooks_config_path }}/webhooks-registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-appservice-webhooks container network is created community.general.docker_network: @@ -106,7 +106,7 @@ dest: "{{ matrix_appservice_webhooks_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-beeper-linkedin/tasks/setup_install.yml b/roles/custom/matrix-bridge-beeper-linkedin/tasks/setup_install.yml index 016493665..5149ddf13 100644 --- a/roles/custom/matrix-bridge-beeper-linkedin/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-beeper-linkedin/tasks/setup_install.yml @@ -17,7 +17,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_beeper_linkedin_base_path }}", when: true} - {path: "{{ matrix_beeper_linkedin_config_path }}", when: true} @@ -31,7 +31,7 @@ dest: "{{ matrix_beeper_linkedin_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure beeper-linkedin registration.yaml installed ansible.builtin.copy: @@ -39,7 +39,7 @@ dest: "{{ matrix_beeper_linkedin_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Beeper LinkedIn container image is pulled community.docker.docker_image: diff --git a/roles/custom/matrix-bridge-go-skype-bridge/tasks/setup_install.yml b/roles/custom/matrix-bridge-go-skype-bridge/tasks/setup_install.yml index dc17fa5b8..e877e9dfd 100644 --- a/roles/custom/matrix-bridge-go-skype-bridge/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-go-skype-bridge/tasks/setup_install.yml @@ -41,7 +41,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_go_skype_bridge_base_path }}", when: true} - {path: "{{ matrix_go_skype_bridge_config_path }}", when: true} @@ -123,7 +123,7 @@ dest: "{{ matrix_go_skype_bridge_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure go-skype-bridge registration.yaml installed ansible.builtin.copy: @@ -131,7 +131,7 @@ dest: "{{ matrix_go_skype_bridge_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-go-skype-bridge container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-heisenbridge/tasks/setup_install.yml b/roles/custom/matrix-bridge-heisenbridge/tasks/setup_install.yml index dd6ea070f..cbc99b51e 100644 --- a/roles/custom/matrix-bridge-heisenbridge/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-heisenbridge/tasks/setup_install.yml @@ -27,7 +27,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - "{{ matrix_heisenbridge_base_path }}" @@ -37,7 +37,7 @@ dest: "{{ matrix_heisenbridge_base_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Heisenbridge support files installed ansible.builtin.template: @@ -45,7 +45,7 @@ dest: "{{ matrix_heisenbridge_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-hookshot/tasks/setup_install.yml b/roles/custom/matrix-bridge-hookshot/tasks/setup_install.yml index f24a31260..68e5ef920 100644 --- a/roles/custom/matrix-bridge-hookshot/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-hookshot/tasks/setup_install.yml @@ -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 diff --git a/roles/custom/matrix-bridge-mautrix-bluesky/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-bluesky/tasks/setup_install.yml index ff650b28c..ed2f7e6b9 100644 --- a/roles/custom/matrix-bridge-mautrix-bluesky/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-bluesky/tasks/setup_install.yml @@ -25,7 +25,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_bluesky_base_path }}", when: true} - {path: "{{ matrix_mautrix_bluesky_config_path }}", when: true} @@ -61,7 +61,7 @@ dest: "{{ matrix_mautrix_bluesky_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-bluesky registration.yaml installed ansible.builtin.copy: @@ -69,7 +69,7 @@ dest: "{{ matrix_mautrix_bluesky_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-bluesky support files installed ansible.builtin.template: @@ -77,7 +77,7 @@ dest: "{{ matrix_mautrix_bluesky_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-discord/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-discord/tasks/setup_install.yml index 05281e3ac..58defde8a 100644 --- a/roles/custom/matrix-bridge-mautrix-discord/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-discord/tasks/setup_install.yml @@ -41,7 +41,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_discord_base_path }}", when: true} - {path: "{{ matrix_mautrix_discord_config_path }}", when: true} @@ -90,7 +90,7 @@ dest: "{{ matrix_mautrix_discord_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-discord registration.yaml installed ansible.builtin.copy: @@ -98,7 +98,7 @@ dest: "{{ matrix_mautrix_discord_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-discord support files installed ansible.builtin.template: @@ -106,7 +106,7 @@ dest: "{{ matrix_mautrix_discord_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-facebook/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-facebook/tasks/setup_install.yml index f762595a5..b3b8aeabc 100644 --- a/roles/custom/matrix-bridge-mautrix-facebook/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-facebook/tasks/setup_install.yml @@ -60,7 +60,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_facebook_base_path }}", when: true} - {path: "{{ matrix_mautrix_facebook_config_path }}", when: true} @@ -118,7 +118,7 @@ dest: "{{ matrix_mautrix_facebook_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-facebook registration.yaml installed ansible.builtin.copy: @@ -126,7 +126,7 @@ dest: "{{ matrix_mautrix_facebook_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-facebook support files installed ansible.builtin.template: @@ -134,7 +134,7 @@ dest: "{{ matrix_mautrix_facebook_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-gmessages/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-gmessages/tasks/setup_install.yml index 27edc3367..f1cb7af83 100644 --- a/roles/custom/matrix-bridge-mautrix-gmessages/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-gmessages/tasks/setup_install.yml @@ -41,7 +41,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_gmessages_base_path }}", when: true} - {path: "{{ matrix_mautrix_gmessages_config_path }}", when: true} @@ -123,7 +123,7 @@ dest: "{{ matrix_mautrix_gmessages_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-gmessages registration.yaml installed ansible.builtin.copy: @@ -131,7 +131,7 @@ dest: "{{ matrix_mautrix_gmessages_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-mautrix-gmessages.service installed ansible.builtin.template: @@ -145,7 +145,7 @@ dest: "{{ matrix_mautrix_gmessages_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-googlechat/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-googlechat/tasks/setup_install.yml index 7c29da69f..84b3ffcc5 100644 --- a/roles/custom/matrix-bridge-mautrix-googlechat/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-googlechat/tasks/setup_install.yml @@ -55,7 +55,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_googlechat_base_path }}", when: true} - {path: "{{ matrix_mautrix_googlechat_config_path }}", when: true} @@ -113,7 +113,7 @@ dest: "{{ matrix_mautrix_googlechat_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-googlechat registration.yaml installed ansible.builtin.copy: @@ -121,7 +121,7 @@ dest: "{{ matrix_mautrix_googlechat_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-googlechat support files installed ansible.builtin.template: @@ -129,7 +129,7 @@ dest: "{{ matrix_mautrix_googlechat_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-instagram/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-instagram/tasks/setup_install.yml index 3209b4b87..2058e9b61 100644 --- a/roles/custom/matrix-bridge-mautrix-instagram/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-instagram/tasks/setup_install.yml @@ -28,7 +28,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_instagram_base_path }}", when: true} - {path: "{{ matrix_mautrix_instagram_config_path }}", when: true} @@ -65,7 +65,7 @@ dest: "{{ matrix_mautrix_instagram_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-instagram registration.yaml installed ansible.builtin.copy: @@ -73,7 +73,7 @@ dest: "{{ matrix_mautrix_instagram_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-instagram support files installed ansible.builtin.template: @@ -81,7 +81,7 @@ dest: "{{ matrix_mautrix_instagram_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-meta-instagram/tasks/install.yml b/roles/custom/matrix-bridge-mautrix-meta-instagram/tasks/install.yml index c517ef2cf..c70949ccd 100644 --- a/roles/custom/matrix-bridge-mautrix-meta-instagram/tasks/install.yml +++ b/roles/custom/matrix-bridge-mautrix-meta-instagram/tasks/install.yml @@ -50,7 +50,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_meta_instagram_base_path }}", when: true} - {path: "{{ matrix_mautrix_meta_instagram_config_path }}", when: true} @@ -87,7 +87,7 @@ dest: "{{ matrix_mautrix_meta_instagram_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-meta-instagram registration.yaml installed ansible.builtin.copy: @@ -95,7 +95,7 @@ dest: "{{ matrix_mautrix_meta_instagram_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-meta-instagram support files installed ansible.builtin.template: @@ -103,7 +103,7 @@ dest: "{{ matrix_mautrix_meta_instagram_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-meta-messenger/tasks/install.yml b/roles/custom/matrix-bridge-mautrix-meta-messenger/tasks/install.yml index 703fd5f31..80235cc3a 100644 --- a/roles/custom/matrix-bridge-mautrix-meta-messenger/tasks/install.yml +++ b/roles/custom/matrix-bridge-mautrix-meta-messenger/tasks/install.yml @@ -50,7 +50,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_meta_messenger_base_path }}", when: true} - {path: "{{ matrix_mautrix_meta_messenger_config_path }}", when: true} @@ -87,7 +87,7 @@ dest: "{{ matrix_mautrix_meta_messenger_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-meta-messenger registration.yaml installed ansible.builtin.copy: @@ -95,7 +95,7 @@ dest: "{{ matrix_mautrix_meta_messenger_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-meta-messenger support files installed ansible.builtin.template: @@ -103,7 +103,7 @@ dest: "{{ matrix_mautrix_meta_messenger_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-signal/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-signal/tasks/setup_install.yml index 17f9beb93..82ef8229a 100644 --- a/roles/custom/matrix-bridge-mautrix-signal/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-signal/tasks/setup_install.yml @@ -46,7 +46,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_signal_base_path }}", when: true} - {path: "{{ matrix_mautrix_signal_config_path }}", when: true} @@ -128,7 +128,7 @@ dest: "{{ matrix_mautrix_signal_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-signal registration.yaml installed ansible.builtin.copy: @@ -136,7 +136,7 @@ dest: "{{ matrix_mautrix_signal_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-signal support files installed ansible.builtin.template: @@ -144,7 +144,7 @@ dest: "{{ matrix_mautrix_signal_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-slack/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-slack/tasks/setup_install.yml index ead4869bb..51aff979f 100644 --- a/roles/custom/matrix-bridge-mautrix-slack/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-slack/tasks/setup_install.yml @@ -40,7 +40,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_slack_base_path }}", when: true} - {path: "{{ matrix_mautrix_slack_config_path }}", when: true} @@ -89,7 +89,7 @@ dest: "{{ matrix_mautrix_slack_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-slack registration.yaml installed ansible.builtin.copy: @@ -97,7 +97,7 @@ dest: "{{ matrix_mautrix_slack_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-mautrix-slack container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-mautrix-telegram/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-telegram/tasks/setup_install.yml index c0fd1e54a..2b9113199 100644 --- a/roles/custom/matrix-bridge-mautrix-telegram/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-telegram/tasks/setup_install.yml @@ -50,7 +50,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_telegram_base_path }}", when: true} - {path: "{{ matrix_mautrix_telegram_config_path }}", when: true} @@ -145,7 +145,7 @@ dest: "{{ matrix_mautrix_telegram_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-telegram registration.yaml installed ansible.builtin.copy: @@ -153,7 +153,7 @@ dest: "{{ matrix_mautrix_telegram_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-telegram support files installed ansible.builtin.template: @@ -161,7 +161,7 @@ dest: "{{ matrix_mautrix_telegram_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-twitter/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-twitter/tasks/setup_install.yml index cd7ab9de5..ccadf7ef2 100644 --- a/roles/custom/matrix-bridge-mautrix-twitter/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-twitter/tasks/setup_install.yml @@ -31,7 +31,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_twitter_base_path }}", when: true} - {path: "{{ matrix_mautrix_twitter_config_path }}", when: true} @@ -67,7 +67,7 @@ dest: "{{ matrix_mautrix_twitter_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-twitter registration.yaml installed ansible.builtin.copy: @@ -75,7 +75,7 @@ dest: "{{ matrix_mautrix_twitter_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-twitter support files installed ansible.builtin.template: @@ -83,7 +83,7 @@ dest: "{{ matrix_mautrix_twitter_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-whatsapp/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-whatsapp/tasks/setup_install.yml index cdc1c6e74..7f85bc379 100644 --- a/roles/custom/matrix-bridge-mautrix-whatsapp/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-whatsapp/tasks/setup_install.yml @@ -51,7 +51,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mautrix_whatsapp_base_path }}", when: true} - {path: "{{ matrix_mautrix_whatsapp_config_path }}", when: true} @@ -133,7 +133,7 @@ dest: "{{ matrix_mautrix_whatsapp_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-whatsapp registration.yaml installed ansible.builtin.copy: @@ -141,7 +141,7 @@ dest: "{{ matrix_mautrix_whatsapp_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-whatsapp support files installed ansible.builtin.template: @@ -149,7 +149,7 @@ dest: "{{ matrix_mautrix_whatsapp_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_install.yml b/roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_install.yml index 784df7b6c..80c03a097 100644 --- a/roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_install.yml @@ -27,7 +27,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_mautrix_wsproxy_base_path }}" when: true @@ -39,7 +39,7 @@ dest: "{{ matrix_mautrix_wsproxy_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - syncproxy-env - wsproxy-labels @@ -64,7 +64,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - "{{ matrix_mautrix_wsproxy_base_path }}" - "{{ matrix_mautrix_wsproxy_config_path }}" @@ -80,7 +80,7 @@ dest: "{{ matrix_mautrix_wsproxy_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-androidsms registration.yaml installed ansible.builtin.copy: @@ -88,7 +88,7 @@ dest: "{{ matrix_mautrix_wsproxy_config_path }}/androidsms-registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-imessage registration.yaml installed ansible.builtin.copy: @@ -96,7 +96,7 @@ dest: "{{ matrix_mautrix_wsproxy_config_path }}/imessage-registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mautrix-wsproxy container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-mx-puppet-discord/tasks/setup_install.yml b/roles/custom/matrix-bridge-mx-puppet-discord/tasks/setup_install.yml index 0dba68c99..d98a2628d 100644 --- a/roles/custom/matrix-bridge-mx-puppet-discord/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mx-puppet-discord/tasks/setup_install.yml @@ -17,7 +17,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mx_puppet_discord_base_path }}", when: true} - {path: "{{ matrix_mx_puppet_discord_config_path }}", when: true} @@ -113,7 +113,7 @@ dest: "{{ matrix_mx_puppet_discord_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-discord discord-registration.yaml installed ansible.builtin.copy: @@ -121,7 +121,7 @@ dest: "{{ matrix_mx_puppet_discord_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-discord container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-mx-puppet-groupme/tasks/setup_install.yml b/roles/custom/matrix-bridge-mx-puppet-groupme/tasks/setup_install.yml index 6ecf1a7c1..746471321 100644 --- a/roles/custom/matrix-bridge-mx-puppet-groupme/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mx-puppet-groupme/tasks/setup_install.yml @@ -16,7 +16,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mx_puppet_groupme_base_path }}", when: true} - {path: "{{ matrix_mx_puppet_groupme_config_path }}", when: true} @@ -113,7 +113,7 @@ dest: "{{ matrix_mx_puppet_groupme_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-groupme groupme-registration.yaml installed ansible.builtin.copy: @@ -121,7 +121,7 @@ dest: "{{ matrix_mx_puppet_groupme_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-groupme container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-mx-puppet-instagram/tasks/setup_install.yml b/roles/custom/matrix-bridge-mx-puppet-instagram/tasks/setup_install.yml index 93ffa15e2..fbed97693 100644 --- a/roles/custom/matrix-bridge-mx-puppet-instagram/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mx-puppet-instagram/tasks/setup_install.yml @@ -56,7 +56,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mx_puppet_instagram_base_path }}", when: true} - {path: "{{ matrix_mx_puppet_instagram_config_path }}", when: true} @@ -93,7 +93,7 @@ dest: "{{ matrix_mx_puppet_instagram_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-instagram-registration.yaml installed ansible.builtin.copy: @@ -101,7 +101,7 @@ dest: "{{ matrix_mx_puppet_instagram_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-instagram container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-mx-puppet-slack/tasks/setup_install.yml b/roles/custom/matrix-bridge-mx-puppet-slack/tasks/setup_install.yml index c525a689a..c817d293c 100644 --- a/roles/custom/matrix-bridge-mx-puppet-slack/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mx-puppet-slack/tasks/setup_install.yml @@ -12,7 +12,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mx_puppet_slack_base_path }}", when: true} - {path: "{{ matrix_mx_puppet_slack_config_path }}", when: true} @@ -109,7 +109,7 @@ dest: "{{ matrix_mx_puppet_slack_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-slack slack-registration.yaml installed ansible.builtin.copy: @@ -117,7 +117,7 @@ dest: "{{ matrix_mx_puppet_slack_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-slack support files installed ansible.builtin.template: @@ -125,7 +125,7 @@ dest: "{{ matrix_mx_puppet_slack_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-mx-puppet-steam/tasks/setup_install.yml b/roles/custom/matrix-bridge-mx-puppet-steam/tasks/setup_install.yml index 7b921d29a..9232c7d63 100644 --- a/roles/custom/matrix-bridge-mx-puppet-steam/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mx-puppet-steam/tasks/setup_install.yml @@ -18,7 +18,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mx_puppet_steam_base_path }}", when: true} - {path: "{{ matrix_mx_puppet_steam_config_path }}", when: true} @@ -115,7 +115,7 @@ dest: "{{ matrix_mx_puppet_steam_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-steam steam-registration.yaml installed ansible.builtin.copy: @@ -123,7 +123,7 @@ dest: "{{ matrix_mx_puppet_steam_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-steam container network is created community.general.docker_network: diff --git a/roles/custom/matrix-bridge-mx-puppet-twitter/tasks/setup_install.yml b/roles/custom/matrix-bridge-mx-puppet-twitter/tasks/setup_install.yml index d5ae0f73e..137d358c0 100644 --- a/roles/custom/matrix-bridge-mx-puppet-twitter/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-mx-puppet-twitter/tasks/setup_install.yml @@ -17,7 +17,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_mx_puppet_twitter_base_path }}", when: true} - {path: "{{ matrix_mx_puppet_twitter_config_path }}", when: true} @@ -114,7 +114,7 @@ dest: "{{ matrix_mx_puppet_twitter_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-twitter twitter-registration.yaml installed ansible.builtin.copy: @@ -122,7 +122,7 @@ dest: "{{ matrix_mx_puppet_twitter_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure mx-puppet-twitter support files installed ansible.builtin.template: @@ -130,7 +130,7 @@ dest: "{{ matrix_mx_puppet_twitter_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-bridge-postmoogle/tasks/setup_install.yml b/roles/custom/matrix-bridge-postmoogle/tasks/setup_install.yml index f9b5af5c0..85fe93862 100644 --- a/roles/custom/matrix-bridge-postmoogle/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-postmoogle/tasks/setup_install.yml @@ -62,7 +62,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_postmoogle_config_path }}", when: true} - {path: "{{ matrix_postmoogle_data_path }}", when: true} @@ -74,7 +74,7 @@ src: "{{ role_path }}/templates/env.j2" dest: "{{ matrix_postmoogle_config_path }}/env" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 - name: Ensure postmoogle image is pulled diff --git a/roles/custom/matrix-bridge-sms/tasks/setup_install.yml b/roles/custom/matrix-bridge-sms/tasks/setup_install.yml index 7b49eca78..46be38205 100644 --- a/roles/custom/matrix-bridge-sms/tasks/setup_install.yml +++ b/roles/custom/matrix-bridge-sms/tasks/setup_install.yml @@ -25,7 +25,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - "{{ matrix_sms_bridge_base_path }}" - "{{ matrix_sms_bridge_config_path }}" @@ -37,7 +37,7 @@ dest: "{{ matrix_sms_bridge_config_path }}/application.yml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-sms-bridge registration.yaml installed ansible.builtin.copy: @@ -45,7 +45,7 @@ dest: "{{ matrix_sms_bridge_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure android-sms-gateway-server cert installed ansible.builtin.copy: @@ -53,7 +53,7 @@ dest: "{{ matrix_sms_bridge_config_path }}/matrix-sms-gateway-server.p12" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" when: matrix_sms_bridge_provider_android_truststore_local_path != "" - name: Ensure matrix-sms-bridge container network is created diff --git a/roles/custom/matrix-bridge-wechat/tasks/install.yml b/roles/custom/matrix-bridge-wechat/tasks/install.yml index d9da1d2fc..d0bfbbace 100644 --- a/roles/custom/matrix-bridge-wechat/tasks/install.yml +++ b/roles/custom/matrix-bridge-wechat/tasks/install.yml @@ -11,7 +11,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_wechat_base_path }}", when: true} - {path: "{{ matrix_wechat_config_path }}", when: true} @@ -96,7 +96,7 @@ dest: "{{ matrix_wechat_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure WeChat registration.yaml installed ansible.builtin.copy: @@ -104,7 +104,7 @@ dest: "{{ matrix_wechat_config_path }}/registration.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Wechat Agent configuration installed ansible.builtin.copy: @@ -112,7 +112,7 @@ dest: "{{ matrix_wechat_config_path }}/agent-config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-wechat container network is created community.general.docker_network: diff --git a/roles/custom/matrix-cactus-comments-client/tasks/install.yml b/roles/custom/matrix-cactus-comments-client/tasks/install.yml index b8c91241c..f068fa8d3 100644 --- a/roles/custom/matrix-cactus-comments-client/tasks/install.yml +++ b/roles/custom/matrix-cactus-comments-client/tasks/install.yml @@ -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: diff --git a/roles/custom/matrix-cactus-comments/tasks/setup_install.yml b/roles/custom/matrix-cactus-comments/tasks/setup_install.yml index 2e0fca1b3..bf5ee0789 100644 --- a/roles/custom/matrix-cactus-comments/tasks/setup_install.yml +++ b/roles/custom/matrix-cactus-comments/tasks/setup_install.yml @@ -12,7 +12,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_cactus_comments_base_path }}", when: true} - {path: "{{ matrix_cactus_comments_container_tmp_path }}", when: true} @@ -24,7 +24,7 @@ src: "{{ role_path }}/templates/env.j2" dest: "{{ matrix_cactus_comments_app_service_env_file }}" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 - name: Ensure matrix-cactus-comments appservice file created @@ -32,7 +32,7 @@ src: "{{ role_path }}/templates/cactus_appservice.yaml.j2" dest: "{{ matrix_cactus_comments_app_service_config_file }}" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 - name: Ensure matrix-cactus-comments image is pulled diff --git a/roles/custom/matrix-client-cinny/tasks/setup_install.yml b/roles/custom/matrix-client-cinny/tasks/setup_install.yml index 6eb32a5d9..80bff534c 100644 --- a/roles/custom/matrix-client-cinny/tasks/setup_install.yml +++ b/roles/custom/matrix-client-cinny/tasks/setup_install.yml @@ -14,7 +14,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_client_cinny_data_path }}", when: true} - {path: "{{ matrix_client_cinny_docker_src_files_path }}", when: "{{ matrix_client_cinny_container_image_self_build }}"} @@ -49,7 +49,7 @@ dest: "{{ matrix_client_cinny_data_path }}/config.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Cinny additional config files installed ansible.builtin.template: @@ -57,7 +57,7 @@ dest: "{{ matrix_client_cinny_data_path }}/{{ item.name }}" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {src: "{{ role_path }}/templates/nginx.conf.j2", name: "nginx.conf"} - {src: "{{ role_path }}/templates/labels.j2", name: "labels"} diff --git a/roles/custom/matrix-client-element/tasks/setup_install.yml b/roles/custom/matrix-client-element/tasks/setup_install.yml index ad4218a3d..a226f5b8a 100644 --- a/roles/custom/matrix-client-element/tasks/setup_install.yml +++ b/roles/custom/matrix-client-element/tasks/setup_install.yml @@ -17,7 +17,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_client_element_data_path }}", when: true} - {path: "{{ matrix_client_element_docker_src_files_path }}", when: "{{ matrix_client_element_container_image_self_build }}"} @@ -76,7 +76,7 @@ dest: "{{ matrix_client_element_data_path }}/config.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Element location sharing map style installed when: matrix_client_element_location_sharing_enabled | bool @@ -85,7 +85,7 @@ dest: "{{ matrix_client_element_data_path }}/map_style.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Element Web config files installed ansible.builtin.template: @@ -93,7 +93,7 @@ dest: "{{ matrix_client_element_data_path }}/{{ item.name }}" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {src: "{{ role_path }}/templates/labels.j2", name: "labels"} - {src: "{{ role_path }}/templates/env.j2", name: "env"} diff --git a/roles/custom/matrix-client-fluffychat/tasks/setup_install.yml b/roles/custom/matrix-client-fluffychat/tasks/setup_install.yml index f0744a54e..3fd3e71af 100644 --- a/roles/custom/matrix-client-fluffychat/tasks/setup_install.yml +++ b/roles/custom/matrix-client-fluffychat/tasks/setup_install.yml @@ -10,7 +10,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_client_fluffychat_data_path }}", when: true} - {path: "{{ matrix_client_fluffychat_container_src_files_path }}", when: "{{ matrix_client_fluffychat_container_image_self_build }}"} @@ -55,7 +55,7 @@ dest: "{{ matrix_client_fluffychat_data_path }}/{{ item.name }}" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {src: "{{ role_path }}/templates/labels.j2", name: "labels"} when: "item.src is not none" diff --git a/roles/custom/matrix-client-hydrogen/tasks/setup_install.yml b/roles/custom/matrix-client-hydrogen/tasks/setup_install.yml index e0c405aa9..5b7304d01 100644 --- a/roles/custom/matrix-client-hydrogen/tasks/setup_install.yml +++ b/roles/custom/matrix-client-hydrogen/tasks/setup_install.yml @@ -17,7 +17,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_client_hydrogen_data_path }}", when: true} - {path: "{{ matrix_client_hydrogen_docker_src_files_path }}", when: "{{ matrix_client_hydrogen_container_image_self_build }}"} @@ -74,7 +74,7 @@ dest: "{{ matrix_client_hydrogen_data_path }}/config.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Hydrogen additional config files installed ansible.builtin.template: @@ -82,7 +82,7 @@ dest: "{{ matrix_client_hydrogen_data_path }}/{{ item.name }}" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {src: "{{ role_path }}/templates/nginx.conf.j2", name: "nginx.conf"} - {src: "{{ role_path }}/templates/labels.j2", name: "labels"} diff --git a/roles/custom/matrix-client-schildichat/tasks/setup_install.yml b/roles/custom/matrix-client-schildichat/tasks/setup_install.yml index 47d5f0fae..eb808d241 100644 --- a/roles/custom/matrix-client-schildichat/tasks/setup_install.yml +++ b/roles/custom/matrix-client-schildichat/tasks/setup_install.yml @@ -14,7 +14,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_client_schildichat_data_path }}", when: true} - {path: "{{ matrix_client_schildichat_container_src_files_path }}", when: "{{ matrix_client_schildichat_container_image_self_build }}"} @@ -73,7 +73,7 @@ dest: "{{ matrix_client_schildichat_data_path }}/config.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure SchildiChat location sharing map style installed when: matrix_client_schildichat_location_sharing_enabled | bool @@ -82,7 +82,7 @@ dest: "{{ matrix_client_schildichat_data_path }}/map_style.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure SchildiChat Web config files installed ansible.builtin.template: @@ -90,7 +90,7 @@ dest: "{{ matrix_client_schildichat_data_path }}/{{ item.name }}" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {src: "{{ role_path }}/templates/labels.j2", name: "labels"} - {src: "{{ matrix_client_schildichat_page_template_welcome_path }}", name: "welcome.html"} diff --git a/roles/custom/matrix-conduit/tasks/setup_install.yml b/roles/custom/matrix-conduit/tasks/setup_install.yml index b82b94e85..140cf4e52 100644 --- a/roles/custom/matrix-conduit/tasks/setup_install.yml +++ b/roles/custom/matrix-conduit/tasks/setup_install.yml @@ -14,7 +14,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Conduit data path exists ansible.builtin.file: @@ -22,7 +22,7 @@ state: directory mode: 0770 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Conduit configuration installed ansible.builtin.template: @@ -30,7 +30,7 @@ dest: "{{ matrix_conduit_config_path }}/conduit.toml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Conduit support files installed ansible.builtin.template: @@ -38,7 +38,7 @@ dest: "{{ matrix_conduit_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-conduwuit/tasks/install.yml b/roles/custom/matrix-conduwuit/tasks/install.yml index 8b1e95a5a..aa1e2941b 100644 --- a/roles/custom/matrix-conduwuit/tasks/install.yml +++ b/roles/custom/matrix-conduwuit/tasks/install.yml @@ -10,7 +10,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure conduwuit data path exists ansible.builtin.file: @@ -18,7 +18,7 @@ state: directory mode: 0770 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure conduwuit configuration installed ansible.builtin.template: @@ -26,7 +26,7 @@ dest: "{{ matrix_conduwuit_config_path }}/conduwuit.toml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure conduwuit support files installed ansible.builtin.template: @@ -34,7 +34,7 @@ dest: "{{ matrix_conduwuit_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels - env diff --git a/roles/custom/matrix-conduwuit/tasks/setup_install.yml b/roles/custom/matrix-conduwuit/tasks/setup_install.yml index 6da4e27b0..bc51bc3e5 100644 --- a/roles/custom/matrix-conduwuit/tasks/setup_install.yml +++ b/roles/custom/matrix-conduwuit/tasks/setup_install.yml @@ -10,7 +10,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure conduwuit data path exists ansible.builtin.file: @@ -18,7 +18,7 @@ state: directory mode: 0770 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure conduwuit configuration installed ansible.builtin.template: @@ -26,7 +26,7 @@ dest: "{{ matrix_conduwuit_config_path }}/conduwuit.toml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure conduwuit support files installed ansible.builtin.template: @@ -34,7 +34,7 @@ dest: "{{ matrix_conduwuit_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-continuwuity/tasks/install.yml b/roles/custom/matrix-continuwuity/tasks/install.yml index 11de27495..0a68b081e 100644 --- a/roles/custom/matrix-continuwuity/tasks/install.yml +++ b/roles/custom/matrix-continuwuity/tasks/install.yml @@ -10,7 +10,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure continuwuity data path exists ansible.builtin.file: @@ -18,7 +18,7 @@ state: directory mode: 0770 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure continuwuity configuration installed ansible.builtin.template: @@ -26,7 +26,7 @@ dest: "{{ matrix_continuwuity_config_path }}/continuwuity.toml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure continuwuity support files installed ansible.builtin.template: @@ -34,7 +34,7 @@ dest: "{{ matrix_continuwuity_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels - env diff --git a/roles/custom/matrix-continuwuity/tasks/migrate_from_conduwuit.yml b/roles/custom/matrix-continuwuity/tasks/migrate_from_conduwuit.yml index 66352458f..bd2eda127 100644 --- a/roles/custom/matrix-continuwuity/tasks/migrate_from_conduwuit.yml +++ b/roles/custom/matrix-continuwuity/tasks/migrate_from_conduwuit.yml @@ -64,7 +64,7 @@ path: "{{ matrix_base_data_path }}/continuwuity" state: directory owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" recurse: true - name: Set continuwuity_old ownership @@ -72,7 +72,7 @@ path: "{{ matrix_base_data_path }}/continuwuity_old" state: directory owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" recurse: true - name: Ensure matrix-continuwuity.service systemd service is started diff --git a/roles/custom/matrix-continuwuity/tasks/setup_install.yml b/roles/custom/matrix-continuwuity/tasks/setup_install.yml index a258ae8d0..4aae7c3ad 100644 --- a/roles/custom/matrix-continuwuity/tasks/setup_install.yml +++ b/roles/custom/matrix-continuwuity/tasks/setup_install.yml @@ -10,7 +10,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure continuwuity data path exists ansible.builtin.file: @@ -18,7 +18,7 @@ state: directory mode: 0770 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure continuwuity configuration installed ansible.builtin.template: @@ -26,7 +26,7 @@ dest: "{{ matrix_continuwuity_config_path }}/continuwuity.toml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure continuwuity support files installed ansible.builtin.template: @@ -34,7 +34,7 @@ dest: "{{ matrix_continuwuity_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-corporal/tasks/setup_install.yml b/roles/custom/matrix-corporal/tasks/setup_install.yml index e69617562..e79fa4c00 100644 --- a/roles/custom/matrix-corporal/tasks/setup_install.yml +++ b/roles/custom/matrix-corporal/tasks/setup_install.yml @@ -17,7 +17,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - "{{ matrix_corporal_base_path }}" - "{{ matrix_corporal_config_dir_path }}" @@ -65,7 +65,7 @@ dest: "{{ matrix_corporal_config_dir_path }}/config.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Matrix Corporal support files installed ansible.builtin.template: @@ -73,7 +73,7 @@ dest: "{{ matrix_corporal_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-coturn/tasks/setup_install.yml b/roles/custom/matrix-coturn/tasks/setup_install.yml index 888916080..d4702e40d 100644 --- a/roles/custom/matrix-coturn/tasks/setup_install.yml +++ b/roles/custom/matrix-coturn/tasks/setup_install.yml @@ -52,7 +52,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_coturn_docker_src_files_path }}", when: "{{ matrix_coturn_container_image_self_build }}"} when: "item.when | bool" @@ -98,7 +98,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure turnserver.conf installed ansible.builtin.template: @@ -106,7 +106,7 @@ dest: "{{ matrix_coturn_config_path }}" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure coturn network is created in Docker when: matrix_coturn_container_network not in ['', 'host'] diff --git a/roles/custom/matrix-dendrite/tasks/setup_install.yml b/roles/custom/matrix-dendrite/tasks/setup_install.yml index 4d78a3ecc..c5e5fba4b 100644 --- a/roles/custom/matrix-dendrite/tasks/setup_install.yml +++ b/roles/custom/matrix-dendrite/tasks/setup_install.yml @@ -16,7 +16,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_dendrite_config_dir_path }}" when: true @@ -45,7 +45,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" when: "not local_path_media_store_stat.failed and not local_path_media_store_stat.stat.exists" - name: Ensure Dendrite Docker image is pulled @@ -80,7 +80,7 @@ path: "{{ matrix_dendrite_config_dir_path }}/{{ matrix_server_fqn_matrix }}.signing.pem" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Dendrite configuration installed ansible.builtin.copy: @@ -88,7 +88,7 @@ dest: "{{ matrix_dendrite_config_dir_path }}/dendrite.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - when: "matrix_dendrite_container_image_self_build | bool" block: @@ -131,7 +131,7 @@ dest: "{{ item.dest }}" mode: "{{ item.mode }}" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - src: labels.j2 dest: "{{ matrix_dendrite_base_path }}/labels" diff --git a/roles/custom/matrix-dimension/tasks/setup_install.yml b/roles/custom/matrix-dimension/tasks/setup_install.yml index de02329f1..84bbfc897 100644 --- a/roles/custom/matrix-dimension/tasks/setup_install.yml +++ b/roles/custom/matrix-dimension/tasks/setup_install.yml @@ -104,7 +104,7 @@ dest: "{{ matrix_dimension_base_path }}/labels" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Dimension image is pulled community.docker.docker_image: diff --git a/roles/custom/matrix-dynamic-dns/tasks/setup_install.yml b/roles/custom/matrix-dynamic-dns/tasks/setup_install.yml index e1b4a091d..b8f94ae59 100644 --- a/roles/custom/matrix-dynamic-dns/tasks/setup_install.yml +++ b/roles/custom/matrix-dynamic-dns/tasks/setup_install.yml @@ -27,7 +27,7 @@ state: directory mode: 0751 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_dynamic_dns_base_path }}", when: true} - {path: "{{ matrix_dynamic_dns_config_path }}", when: true} @@ -63,7 +63,7 @@ dest: "{{ matrix_dynamic_dns_config_path }}/ddclient.conf" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-dynamic-dns container network is created community.general.docker_network: diff --git a/roles/custom/matrix-element-call/tasks/install.yml b/roles/custom/matrix-element-call/tasks/install.yml index 021668afc..5c0909591 100644 --- a/roles/custom/matrix-element-call/tasks/install.yml +++ b/roles/custom/matrix-element-call/tasks/install.yml @@ -12,7 +12,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_element_call_base_path }}" @@ -22,7 +22,7 @@ dest: "{{ matrix_element_call_base_path }}/config.json" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Element Call container labels file is in place ansible.builtin.template: @@ -30,7 +30,7 @@ dest: "{{ matrix_element_call_base_path }}/labels" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Element Call container image is pulled community.docker.docker_image: diff --git a/roles/custom/matrix-ldap-registration-proxy/tasks/setup_install.yml b/roles/custom/matrix-ldap-registration-proxy/tasks/setup_install.yml index 779ff5cdb..fbafc5497 100644 --- a/roles/custom/matrix-ldap-registration-proxy/tasks/setup_install.yml +++ b/roles/custom/matrix-ldap-registration-proxy/tasks/setup_install.yml @@ -14,7 +14,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_ldap_registration_proxy_config_path }}", when: true} - {path: "{{ matrix_ldap_registration_proxy_docker_src_files_path }}", when: true} @@ -47,7 +47,7 @@ dest: "{{ matrix_ldap_registration_proxy_config_path }}/ldap-registration-proxy.env" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-ldap-registration-proxy support files installed ansible.builtin.template: @@ -55,7 +55,7 @@ dest: "{{ matrix_ldap_registration_proxy_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-livekit-jwt-service/tasks/install.yml b/roles/custom/matrix-livekit-jwt-service/tasks/install.yml index da8a0a970..9736e2c55 100644 --- a/roles/custom/matrix-livekit-jwt-service/tasks/install.yml +++ b/roles/custom/matrix-livekit-jwt-service/tasks/install.yml @@ -12,7 +12,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_livekit_jwt_service_base_path }}" @@ -22,7 +22,7 @@ dest: "{{ matrix_livekit_jwt_service_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - env - labels diff --git a/roles/custom/matrix-ma1sd/tasks/setup_install.yml b/roles/custom/matrix-ma1sd/tasks/setup_install.yml index 67f378d71..273a65a8d 100644 --- a/roles/custom/matrix-ma1sd/tasks/setup_install.yml +++ b/roles/custom/matrix-ma1sd/tasks/setup_install.yml @@ -20,7 +20,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_ma1sd_config_path }}", when: true} - {path: "{{ matrix_ma1sd_data_path }}", when: true} @@ -96,7 +96,7 @@ dest: "{{ matrix_ma1sd_config_path }}/ma1sd.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure custom view templates are installed, if any ansible.builtin.copy: @@ -104,7 +104,7 @@ dest: "{{ matrix_ma1sd_config_path }}/{{ item.location }}" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {value: "{{ matrix_ma1sd_view_session_custom_onTokenSubmit_success_template }}", location: 'tokenSubmitSuccess.html'} - {value: "{{ matrix_ma1sd_view_session_custom_onTokenSubmit_failure_template }}", location: 'tokenSubmitFailure.html'} @@ -116,7 +116,7 @@ dest: "{{ matrix_ma1sd_config_path }}/{{ item.location }}" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {value: "{{ matrix_ma1sd_threepid_medium_email_custom_invite_template }}", location: 'invite-template.eml'} - {value: "{{ matrix_ma1sd_threepid_medium_email_custom_session_validation_template }}", location: 'validate-template.eml'} @@ -142,7 +142,7 @@ dest: "{{ matrix_ma1sd_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-media-repo/tasks/setup_install.yml b/roles/custom/matrix-media-repo/tasks/setup_install.yml index 488830626..bc45d8787 100755 --- a/roles/custom/matrix-media-repo/tasks/setup_install.yml +++ b/roles/custom/matrix-media-repo/tasks/setup_install.yml @@ -13,7 +13,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_media_repo_base_path }}" when: true @@ -31,7 +31,7 @@ dest: "{{ matrix_media_repo_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - env - labels @@ -42,7 +42,7 @@ dest: "{{ matrix_media_repo_config_path }}/media-repo.yaml" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure media-repo Docker image is pulled community.docker.docker_image: @@ -129,7 +129,7 @@ dest: "{{ matrix_media_repo_homeserver_signing_key }}.{{ matrix_homeserver_implementation }}.backup" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Replace homeserver signing key with merged signing key ansible.builtin.command: diff --git a/roles/custom/matrix-pantalaimon/tasks/install.yml b/roles/custom/matrix-pantalaimon/tasks/install.yml index 5cfe1cd3b..610dce0b0 100644 --- a/roles/custom/matrix-pantalaimon/tasks/install.yml +++ b/roles/custom/matrix-pantalaimon/tasks/install.yml @@ -11,7 +11,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_pantalaimon_base_path }}", when: true} - {path: "{{ matrix_pantalaimon_data_path }}", when: true} @@ -24,7 +24,7 @@ dest: "{{ matrix_pantalaimon_data_path }}/pantalaimon.conf" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure pantalaimon container image is pulled community.docker.docker_image: diff --git a/roles/custom/matrix-prometheus-nginxlog-exporter/tasks/setup_install.yml b/roles/custom/matrix-prometheus-nginxlog-exporter/tasks/setup_install.yml index f46a685c7..42591b383 100644 --- a/roles/custom/matrix-prometheus-nginxlog-exporter/tasks/setup_install.yml +++ b/roles/custom/matrix-prometheus-nginxlog-exporter/tasks/setup_install.yml @@ -23,7 +23,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - "{{ matrix_prometheus_nginxlog_exporter_base_path }}" - "{{ matrix_prometheus_nginxlog_exporter_config_path }}" @@ -34,7 +34,7 @@ dest: "{{ matrix_prometheus_nginxlog_exporter_config_path }}/prometheus-nginxlog-exporter.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure prometheus-nginxlog-exporter support files installed ansible.builtin.template: @@ -42,7 +42,7 @@ dest: "{{ matrix_prometheus_nginxlog_exporter_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-rageshake/tasks/install.yml b/roles/custom/matrix-rageshake/tasks/install.yml index 6a7b0e72c..0b64aa577 100644 --- a/roles/custom/matrix-rageshake/tasks/install.yml +++ b/roles/custom/matrix-rageshake/tasks/install.yml @@ -13,7 +13,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_rageshake_config_path }}" when: true @@ -28,7 +28,7 @@ content: "{{ matrix_rageshake_configuration | to_nice_yaml(indent=2, width=999999) }}" dest: "{{ matrix_rageshake_config_path }}/config.yaml" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 - name: Ensure rageshake labels installed @@ -37,7 +37,7 @@ dest: "{{ matrix_rageshake_base_path }}/labels" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure rageshake image is pulled community.docker.docker_image: diff --git a/roles/custom/matrix-registration/tasks/setup_install.yml b/roles/custom/matrix-registration/tasks/setup_install.yml index 95781a634..8db0011ea 100644 --- a/roles/custom/matrix-registration/tasks/setup_install.yml +++ b/roles/custom/matrix-registration/tasks/setup_install.yml @@ -48,7 +48,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_registration_base_path }}", when: true} - {path: "{{ matrix_registration_config_path }}", when: true} @@ -105,7 +105,7 @@ dest: "{{ matrix_registration_config_path }}/config.yaml" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-registration support files installed ansible.builtin.template: @@ -113,7 +113,7 @@ dest: "{{ matrix_registration_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - labels diff --git a/roles/custom/matrix-sliding-sync/tasks/install.yml b/roles/custom/matrix-sliding-sync/tasks/install.yml index d23d2cdf7..394091059 100644 --- a/roles/custom/matrix-sliding-sync/tasks/install.yml +++ b/roles/custom/matrix-sliding-sync/tasks/install.yml @@ -11,7 +11,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_sliding_sync_base_path }}" when: true @@ -25,7 +25,7 @@ dest: "{{ matrix_sliding_sync_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - env - labels diff --git a/roles/custom/matrix-static-files/tasks/install.yml b/roles/custom/matrix-static-files/tasks/install.yml index c8a752b4c..b60c45daf 100644 --- a/roles/custom/matrix-static-files/tasks/install.yml +++ b/roles/custom/matrix-static-files/tasks/install.yml @@ -11,7 +11,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_static_files_base_path }}", when: true} - {path: "{{ matrix_static_files_config_path }}", when: true} @@ -31,7 +31,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/config.toml.j2" @@ -49,7 +49,7 @@ dest: "{{ item.dest }}" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" when: item.when | bool with_items: - content: "{{ matrix_static_files_file_matrix_client_configuration | to_nice_json }}" diff --git a/roles/custom/matrix-sygnal/tasks/install.yml b/roles/custom/matrix-sygnal/tasks/install.yml index 8ae6c875a..30ea8da1e 100644 --- a/roles/custom/matrix-sygnal/tasks/install.yml +++ b/roles/custom/matrix-sygnal/tasks/install.yml @@ -15,7 +15,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - "{{ matrix_sygnal_base_path }}" - "{{ matrix_sygnal_config_path }}" @@ -27,7 +27,7 @@ dest: "{{ matrix_sygnal_config_path }}/sygnal.yaml" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Sygnal labels installed ansible.builtin.template: @@ -35,7 +35,7 @@ dest: "{{ matrix_sygnal_base_path }}/labels" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure Sygnal image is pulled community.docker.docker_image: diff --git a/roles/custom/matrix-synapse-admin/tasks/setup_install.yml b/roles/custom/matrix-synapse-admin/tasks/setup_install.yml index adaf66ea1..baf76b29d 100644 --- a/roles/custom/matrix-synapse-admin/tasks/setup_install.yml +++ b/roles/custom/matrix-synapse-admin/tasks/setup_install.yml @@ -17,7 +17,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_synapse_admin_base_path }}", when: true} - {path: "{{ matrix_synapse_admin_config_path }}", when: true} @@ -29,7 +29,7 @@ src: "{{ role_path }}/templates/labels.j2" dest: "{{ matrix_synapse_admin_base_path }}/labels" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0640 - name: Ensure matrix-synapse-admin configuration installed @@ -38,7 +38,7 @@ dest: "{{ matrix_synapse_admin_config_path }}/config.json" mode: 0644 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure matrix-synapse-admin image is pulled community.docker.docker_image: diff --git a/roles/custom/matrix-synapse-auto-compressor/tasks/install.yml b/roles/custom/matrix-synapse-auto-compressor/tasks/install.yml index 6cd272c9e..cad13533a 100644 --- a/roles/custom/matrix-synapse-auto-compressor/tasks/install.yml +++ b/roles/custom/matrix-synapse-auto-compressor/tasks/install.yml @@ -12,7 +12,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" when: item.when | bool with_items: - path: "{{ matrix_synapse_auto_compressor_base_path }}" @@ -26,7 +26,7 @@ dest: "{{ matrix_synapse_auto_compressor_base_path }}/env" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure synapse-auto-compressor workaround script is installed ansible.builtin.template: @@ -34,7 +34,7 @@ dest: "{{ matrix_synapse_auto_compressor_base_path }}/matrix-synapse-auto-compressor-fix.sh" mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" - name: Ensure synapse-auto-compressor image is pulled community.docker.docker_image: diff --git a/roles/custom/matrix-synapse-reverse-proxy-companion/tasks/setup_install.yml b/roles/custom/matrix-synapse-reverse-proxy-companion/tasks/setup_install.yml index 67180bf37..4d732ad22 100644 --- a/roles/custom/matrix-synapse-reverse-proxy-companion/tasks/setup_install.yml +++ b/roles/custom/matrix-synapse-reverse-proxy-companion/tasks/setup_install.yml @@ -11,7 +11,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - "{{ matrix_synapse_reverse_proxy_companion_base_path }}" - "{{ matrix_synapse_reverse_proxy_companion_confd_path }}" @@ -21,7 +21,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/nginx/nginx.conf.j2" diff --git a/roles/custom/matrix-synapse-usage-exporter/tasks/setup_install.yml b/roles/custom/matrix-synapse-usage-exporter/tasks/setup_install.yml index a2151bf81..993c6975b 100644 --- a/roles/custom/matrix-synapse-usage-exporter/tasks/setup_install.yml +++ b/roles/custom/matrix-synapse-usage-exporter/tasks/setup_install.yml @@ -11,7 +11,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - path: "{{ matrix_synapse_usage_exporter_base_path }}" when: true @@ -25,7 +25,7 @@ dest: "{{ matrix_synapse_usage_exporter_base_path }}/{{ item }}" mode: 0640 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - env - labels diff --git a/roles/custom/matrix-user-verification-service/tasks/setup_install.yml b/roles/custom/matrix-user-verification-service/tasks/setup_install.yml index b04f299cc..634761484 100644 --- a/roles/custom/matrix-user-verification-service/tasks/setup_install.yml +++ b/roles/custom/matrix-user-verification-service/tasks/setup_install.yml @@ -12,7 +12,7 @@ state: directory mode: 0750 owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" with_items: - {path: "{{ matrix_user_verification_service_config_path }}", when: true} - {path: "{{ matrix_user_verification_service_docker_src_files_path }}", when: "{{ matrix_user_verification_service_container_image_self_build }}"} @@ -58,7 +58,7 @@ src: "{{ role_path }}/templates/.env.j2" dest: "{{ matrix_user_verification_service_config_env_file }}" owner: "{{ matrix_user_name }}" - group: "{{ matrix_user_groupname }}" + group: "{{ matrix_group_name }}" mode: 0644 - name: Ensure matrix-user-verification-service container network is created