New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible guide - possible enhancements #33256
Comments
|
/cc @MichalMaler (documentation), @ebullient (documentation), @hmanwani-rh (documentation), @inoxx03 (documentation), @michelle-purcell (documentation), @sheilamjones (documentation), @sunayna15 (documentation) |
|
@rsvoboda Regarding your suggestions / questions:
Following your suggestion, on top of adding the information in the guide, I've also enhanced the collection to check that the target hosts are supported.
I've added a note to the guide with this information in PR33527
Yes, you can use the We can mention that in the guide, if you want, but this is pretty obvious for anyone having a little bit of experience in Ansible. (and we have to be careful to NOT turn this guide into a tutorial for Ansible). Regarding all those scenarios: This is where users can leverage existing features of Ansible (such as Maybe we can add some links to the Ansible documentation to cover that? (here again, we have to keep in mind the goal is not write a tutorial about Ansible, but just give the few details specific to Quarkus). |
Description
#32860 introduced Ansible guide recently. This guide describes deployment of Quarkus application built from sources and targeting JVM mode.
I have several ideas for enhancements:
0) OS
There is no info about target OS, systemd service indicates RHEL, Fedora to me. Maybe this could be clarified a bit.
1) JDK
The guide talks about OpenJDK being required. What about Temurin, Corretto, etc. ?
java-17-openjdkin mentioned in the listing. Is Java 11 allowed too?Maybe it would be worth having a hint how to install JDK using Ansible.
2) Native mode
Can be
middleware_automation.quarkus.playbookused to build and deploy Quarkus application as native binary?3) Deploy of container image
Use-case: the app is already built and deployed into internal/external registry by a CI pipeline
Can be Ansible used to deploy such container into target environment and the containerized app executed as a service?
4) Deploy from (maven) repository
Use-case: the app is already built and deployed into internal/external (not only maven) repository by a CI pipeline
Can be Ansible used to deploy concrete version of the application from maven repository?
This can get tricky as Quarkus app is not just one binary by default in JVM mode. For native there is just one artifact, but can be deployed with different modifiers to indicate the target platform. For JVM mode would need to have fat jar or zip archive for simplicity.
And of course there could be more different inputs like Bitbucket, GitHub releases, this can get quite complex.
@rpelisse, can you look into it? I'm not able to set you as assignee
@maxandersen / @n1hility any other ideas/priorities around Ansible?
The text was updated successfully, but these errors were encountered: