This is an example custom ansible module to manage WildFly/JBoss AS through jython cli.
ensure requirements are met (see below) then run the example:
ansible-playbook -vvvv site.ymlor use the vagrant example
vagrant up-
Target host will need to have jython installed (for this example jython needs to be present on local)
-
jython executable needs to be linked into
/usr/binto ensure the interpreter is found by#! /usr/bin/env jython
-
Tested successfully with ansible 2.0.0.2 but not working on ansible 2.1 anymore
-
To get logging working in a remote Linux host, one will need to also compile syslog.java and enable UDP rsyslog