<div dir="ltr">Is ansible a viable technology for this?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 4:28 AM, Heiko W.Rupp <span dir="ltr">&lt;<a href="mailto:hrupp@redhat.com" target="_blank">hrupp@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
<br>
while the All In One zip works well for demoing, using Hawkular in a<br>
more serious scenario requires a lot of options and settings<br>
<br>
* External C*:  $CASSANDRA_NODES and -Dhawkular.backend=remote<br>
* Binding to non-localhost: -b a.b.c.d and<br>
-Dkeycloak.server.url=<a href="http://a.b.c.d:8080/auth" rel="noreferrer" target="_blank">http://a.b.c.d:8080/auth</a><br>
* Adding jdoe to a dist build:<br>
-Dkeycloak.import=./standalone/configuration/hawkular-realm-for-dev.json<br>
* Using an external RDBMS for keycloack users: &quot;before the server first<br>
boots, the `KeycloakDS` on `standalone.xml` should be changed to point<br>
to an external database.&quot; (this applies when using the embedded KC and<br>
not a separate standalone one)<br>
* If not using jdoe above: setting user/password for the internal agent<br>
after a user was created<br>
* Dorking around with standalone.xml to chose up a mail server<br>
* Setting other java opts<br>
<br>
all the above involve a huge amount of manual steps and configuration<br>
changes.<br>
<br>
I think it is thus time to introduce some sort of installer or config<br>
script that is able to make the changes. I think there is meanwhile even<br>
a cli mode that can apply the changes (to standalone.xml) on a<br>
non-running server. Some options could be set in env variables or<br>
directly applied to the standalone.xml.<br>
<br>
If we still need to supply env-variables we may potentially also create<br>
a start script from the  installer, which sets the variabls and then<br>
calls standalone.sh<br>
_______________________________________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
</blockquote></div><br></div>