Skip to content

jinja

SHELL SCRIPTING: improve DBA scripts readability using J2 templates

Quering database’s by using SQL in shell scripts can make the whole script unreadable. Very oftent the query is unredable too, due to the variable usage. This situation make the script debugging a pain.
Templating simplify the script by taking out from the soufce code file the SQL code. J2 is ideally built for that.

Overcome jboss-cli Limitations with Ansible

The work on YaK JBoss/WildFly component helped me to improve my knowledge of Ansible, but not only. I also learned a lot on jboss-cli scripting and especially limitations that comes with it. For instance, followings are not supported by jboss-cli language: Even if there are some possibilities to overcome them with programming language like Java, as I am on Ansible,…