Closed thecityofguanyu closed 7 years ago
You need to build the .jar first, this is done with ./gradlew jar
, for example. This is only mentioned in old release docs, because the Docker image creation and upload is done automatically via Travis CI.
May I ask why you want to build your own image?
@frozenice thanks for the heads up there! I couldn't find those old release docs detailing those instructions.
May I ask why you want to build your own image?
I was getting some errors (not listed in this issue OP) when attempting to run anisble playbooks via Rundeck Workflows from the prebuilt batix/rundeck-ansible
image. A bit of Googling led me to where some people pointed rundeck-launcher-2.9.1.jar
as exhibiting similar troubles to that I was seeing. It also noted that those troubles may be fixed in 2.9.2.
I wanted to test rundeck-launcher-2.9.2.jar
to see for myself; however, but the Dockerfile for the master branch here looks like it still pulls 2.9.1. I figured building my own build be easier to at least test 2.9.2 (not realizing you need to build the jar).
As far as the error that prompted this goes: I believe it was java.lang.NoSuchMethodError: com.dtolabs.rundeck.core.execution.ExecutionContext.getDataContext()Ljava/util/Map
. That build be the error when trying to run any Ansible playbook from the Rundeck WebUI. Node discovery from the inventory.ini
file was fine, but it would throw the error on attempted playbook execution.
@thecityofguanyu Okay, awesome. :) Feel free to open an issue or PR if you find out details.
Title. Pulling the
batix/rundeck-ansible
image works fine.I was getting some errors (not listed in this issue) when attempting to run Rundeck Workflows. A bit of Googling led me to where some people pointed
rundeck-launcher-2.9.1.jar
as exhibiting the same troubles that I was seeing.As a troubleshooting step, I attempted to clone this repo, changed the curl line to pull down 2.9.2, and build the image. The build failed. Reverting the changed curl line results in the same issue.