Closed danvaida closed 7 years ago
PR is going to be updated soon. I just found some issues now. Adding tests to solve this once and for all.
Some common best practices for Ansible: Dynamic variables (i.e. Jinja) should have double quotes, variables that embed non-alphanumerics should have single quotes. Plain strings don't need quoting, unless you want to make it a string explicidly.
@bbaassssiiee I will try to be more specific.
Anyway, I'll go ahead and amend as according to point 2. above.
Point 3 was as a general principle, and you talked about it, so great!
when I'll have some more time, I plan to make use of the travis build matrix and try to have something like this: https://github.com/saucelabs-ansible/pip#tests. I consider points 2. and 3. as clarified so if you guys are willing to live with 1. this is ready to be merged.
@danvaida thanks for your work! Could you please sign the cla in order to get this merged?
@mariussturm signed and commits amended to reflect the correct author.
Next steps will be to add some integration tests and refactor the way the tests are ran with travis. BTW, please edit the .travis.yml
to reflect your organisation's build job, not mine :)
Thanks a lot for your work!
This PR is mostly for cosmetic purposes. The changes under this category are:
Readme has been updated to reflect changes and hopefully make more sense from the point of view of installing the role and its dependencies.
The
shell
task responsible for accepting the Oracle license when installing the JDK has been replaced with adebconf
task. This also offers idempotence.I do realize that some people might haver other standards when it comes to the syntax, but I believe that what I propose makes sense and I'm happy to elaborate if asked to.