Closed wtcross closed 8 years ago
I'm going to submit a PR to the rhtconsulting/ansible-middleware-playbooks project that removes the module from the project with example playbooks.
@wtcross, will it not be ideal to have this module added to Ansible core module like how we have jboss_deploy
so that users can use them like any other module ?
@kameshsampath I think that's an excellent idea. Until then this role is broken from a re-use perspective. We can remove the module when it is no longer necessary.
@wtcross I like where you are going with this, but I don't think EAP repo is the right home. We plan to use this module in a lot of roles/repos, not just EAP. CSP download should probably be it's own repo and published to galaxy.
Thank you for the quick responses to my PR. I think making the module live in its own repository is perfect. I'd encourage you guys to reference this project as an example: https://github.com/cmprescott/ansible-xml
I think it's a great example of a module repository. That said, this PR needs to be treated as a fix until the module is available via its own repo. Right now you can't install this role with ansible-galaxy and have it work correctly.
make sense to me. commit looks good. merging
This change adds the redhat_csp_download module to the jboss_eap role, since it is dependent on it. Before this change ansible projects that use ansible-galaxy requirements.yml to specify dependencies on upstream roles are not able to function without manually adding this module themselves, which defeats the purpose of requirements.yml.