Clarify task name and add user and group to templated env file

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
Paul N 2023-02-06 12:47:50 +01:00 committed by GitHub
parent 6913d368c8
commit b89f5b7ff5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,10 +28,12 @@
# TODO # TODO
# when: "matrix_user_verification_service_container_image_self_build|bool" # when: "matrix_user_verification_service_container_image_self_build|bool"
- name: write env file - name: Ensure Matrix User Verification Service env file installed
ansible.builtin.template: ansible.builtin.template:
src: "{{ role_path }}/templates/.env.j2" src: "{{ role_path }}/templates/.env.j2"
dest: "{{ matrix_user_verification_service_config_env_file }}" dest: "{{ matrix_user_verification_service_config_env_file }}"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0644 mode: 0644
- name: Ensure matrix-user-verification-service.service installed - name: Ensure matrix-user-verification-service.service installed