Automate ldap and smtp Settings


#1

Does anyone know how to configure the ldap and smtp settings without using the UI. I am trying to automate our appliance deployments through Ansible and these are two settings I have not been able to find.


#2

Hi @cmpgkgrl

These settings can be configured from advanced config yaml:

But this file is stored in database and you can use rails console knife to edit these settings. The exapmle for “:server => {:role …” section:

In this way you can change :authentication: and :smtp: sections.

Be careful I have no such experience.


#3

Also pay attention to this PR

https://github.com/ManageIQ/manageiq/pull/11204