mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-18 13:14:52 +00:00
8f16524789
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3108 Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562
11 lines
690 B
YAML
11 lines
690 B
YAML
- name: Prepare Matrix Authentication Service private key file path ({{ private_key_definition.key_file }})
|
|
ansible.builtin.set_fact:
|
|
matrix_authentication_service_private_key_file_path: "{{ matrix_authentication_service_data_keys_path }}/{{ private_key_definition.key_file }}"
|
|
|
|
- name: Prepare Matrix Authentication Service private key file ({{ private_key_definition.key_file }})
|
|
ansible.builtin.command:
|
|
cmd: "{{ private_key_definition.generation_command | replace('__KEY_FILE_PATH__', matrix_authentication_service_private_key_file_path) }}"
|
|
creates: "{{ matrix_authentication_service_private_key_file_path }}"
|
|
become: true
|
|
become_user: "{{ matrix_user_username }}"
|