fixed typo in truststore path

development
benkuly 4 years ago
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_username: admin
matrix_sms_bridge_provider_android_password: supeSecretPassword 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_local_path: android-sms-gateway-server.p12
matrix_sms_bridge_provider_android_truststore_password: 123 matrix_sms_bridge_provider_android_truststore_password: 123

@ -64,7 +64,7 @@ matrix_sms_bridge_configuration_yaml: |
# The password of the gateway # The password of the gateway
password: {{ matrix_sms_bridge_provider_android_password }} password: {{ matrix_sms_bridge_provider_android_password }}
# (optional) if you use a self signed certificate, you can add the public key here # (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: trustStore:
path: /data/config/matrix-sms-gateway-server.p12 path: /data/config/matrix-sms-gateway-server.p12
password: {{ matrix_sms_bridge_provider_android_truststore_password }} password: {{ matrix_sms_bridge_provider_android_truststore_password }}

@ -35,12 +35,12 @@
- name: Ensure android-sms-gateway-server cert installed - name: Ensure android-sms-gateway-server cert installed
copy: 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" dest: "{{ matrix_sms_bridge_config_path }}/matrix-sms-gateway-server.p12"
mode: 0644 mode: 0644
owner: "{{ matrix_user_username }}" owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}" 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 - name: Ensure matrix-sms-bridge.service installed
template: template:

Loading…
Cancel
Save