Use a template option for the env with variable extension

This commit is contained in:
Julian-Samuel Gebühr
2022-09-04 09:09:09 +02:00
committed by TheOneWithTheBraid
parent b4fdc622fd
commit bdfd84e146
3 changed files with 11 additions and 7 deletions

View File

@ -37,8 +37,8 @@
when: true
- name: Ensure matrix_ldap_registration_proxy config installed
ansible.builtin.copy:
content: "{{ matrix_ldap_registration_proxy_configuration }}"
ansible.builtin.template:
src: "{{ role_path }}/templates/ldap-registration-proxy.env.j2"
dest: "{{ matrix_ldap_registration_proxy_config_path }}/ldap-registration-proxy.env"
mode: 0644
owner: "{{ matrix_user_username }}"