Hi all,
I have a problem with the Ciphermail Community Edition Virtual Appliance.
I was trying to follow the instructions to connect to a PostgreSQL database ( Setup — CipherMail Documentation ) but the configuration file we’re supposed to create:
sudo vi /etc/ciphermail/ansible/group_vars/all/database.yml
Is ignored, and the configuration after running the playbook command is always the default localhost MariaDB.
I’m stumped. At one point I tried using different variable names, because I found the template.
I tried:
---
ciphermail_database_config__database_type: 'custom'
ciphermail_database_config__connection_url: 'jdbc:postgresql://<database-host>:<database-port>/<database-name>?<database-options>'
ciphermail_database_config__driver_class: 'org.postgresql.Driver'
ciphermail_database_config__database_name: '<database-name>'
ciphermail_database_config__database_user: '<database-user>'
ciphermail_database_config__database_password: '<database-password>'
I also tried:
---
ciphermail_community__database_type: 'custom'
ciphermail_community__connection_url: 'jdbc:postgresql://<database-host>:<database-port>/<database-name>?<database-options>'
ciphermail_community__driver_class: 'org.postgresql.Driver'
ciphermail_community__database_name: '<database-name>'
ciphermail_community__database_user: '<database-user>'
ciphermail_community__database_password: '<database-password>'
But it didn’t work.
I’m not sure what I’m doing wrong, probably something obvious, and would appreciate any help.
Thank you in advance!