mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 10:04:46 +08:00
fixed typo in truststore path
This commit is contained in:
parent
75600aa357
commit
2fb42dd7f1
@ -25,7 +25,7 @@ matrix_sms_bridge_provider_android_baseurl: https://192.168.24.24:9090
|
||||
matrix_sms_bridge_provider_android_username: admin
|
||||
matrix_sms_bridge_provider_android_password: supeSecretPassword
|
||||
|
||||
# (optional) ff your android-sms-gateway-server uses a self signed vertificate, the bridge needs a "truststore". This can be the certificate itself.
|
||||
# (optional) if your android-sms-gateway-server uses a self signed vertificate, the bridge needs a "truststore". This can be the certificate itself.
|
||||
matrix_sms_bridge_provider_android_truststore_local_path: android-sms-gateway-server.p12
|
||||
matrix_sms_bridge_provider_android_truststore_password: 123
|
||||
|
||||
|
@ -64,7 +64,7 @@ matrix_sms_bridge_configuration_yaml: |
|
||||
# The password of the gateway
|
||||
password: {{ matrix_sms_bridge_provider_android_password }}
|
||||
# (optional) if you use a self signed certificate, you can add the public key here
|
||||
{% if matrix_sms_bridge_provider_android_truststore_path %}
|
||||
{% if matrix_sms_bridge_provider_android_truststore_local_path %}
|
||||
trustStore:
|
||||
path: /data/config/matrix-sms-gateway-server.p12
|
||||
password: {{ matrix_sms_bridge_provider_android_truststore_password }}
|
||||
|
@ -35,12 +35,12 @@
|
||||
|
||||
- name: Ensure android-sms-gateway-server cert installed
|
||||
copy:
|
||||
src: "{{ matrix_sms_bridge_provider_android_truststore_path }}"
|
||||
src: "{{ matrix_sms_bridge_provider_android_truststore_local_path }}"
|
||||
dest: "{{ matrix_sms_bridge_config_path }}/matrix-sms-gateway-server.p12"
|
||||
mode: 0644
|
||||
owner: "{{ matrix_user_username }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
when: matrix_sms_bridge_provider_android_truststore_path != ""
|
||||
when: matrix_sms_bridge_provider_android_truststore_local_path != ""
|
||||
|
||||
- name: Ensure matrix-sms-bridge.service installed
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user