remyma / ansible-springboot

Ansible role to deploy spring-boot applications
35 stars 22 forks source link

Question: Passing in VM arguments #1

Open silentFred opened 6 years ago

silentFred commented 6 years ago

Hi there,

Thanks for sharing this. Would just like to know how to pass VM arguments to the apps?

Cheers,

orachide commented 6 years ago

Hello,

If you do not have any other solution i suggest you to take a look at https://github.com/orachide/ansible-role-springboot

I recently wrote this role and you can customize it with almost every parameter who want.

Hope this could help

@remyma can you also take a look to see if something is missing please?

remyma commented 6 years ago

Hello,

As mentioned in the readme you can use springboot_configuration_template to pass a jinja template file for springboot configuration. You then can use all of the mentionned configuration : https://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html#deployment-script-customization-conf-file

I think JAVA_OPTS is the one you need.

Matthieu