This fixes the type warnings while deploying server and replica.
The dns settings in options have not been used and also not provided to the module in the tasks file. Therefore these settings shoul dbe removed.
The support for external cert files is not complete yet. Please have a look at the example inventory file inventory/hosts.replica and also the install and uninstall playbook files install-replica.yml and uninstall-replica.yml