-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Conversation
bumping priority of this one. good stuff, thanks! |
No prob. I added the link to the tests pull request in the description, in case you'd want those in as well. |
@ramondelafuente this is awesome. Great addition to Ansible. Not sure if this is the best place for discussion now, or that thread. But the only thing missing that I use from Capistrano is a simple deploy history log file. What do you think about making that part of the |
|
@beberlei As stated in the description: The tests are in a separate pull request because they are currently still in the Ansible main repo: ansible/ansible#9567 Usage examples are inside the module (but not so readable because it generates automatically to the docs). Basically it would be:
So an example for the shared folders:
|
@beberlei
|
@ramondelafuente thanks for the detailed response |
@swalkinshaw |
@ramondelafuente yeah I definitely don't want to get into providing notifications since there's a million different services. Capistrano just appends a new line to a text file in your project root with this string:
I believe But it's also easy to do on your own: - name: Log deploys
lineinfile: dest="{{ deploy_helper.project_path }}" line="{{ deploy_helper.new_release}} deployed by {{ lookup('env', 'USER') }}" Although I just realized there's no direct way to get the deployed sha/branch/version. Capistrano captures either the version you specified, or the latest commit SHA1 that was deployed. Not trying to bloat this module, just wondering about some things I'm used to in Capistrano. |
Well, if you're deploying anything you probably already know the version (or at leasy you should). We developed this module for use within our galaxy role - and using that you provide the But precisely because it's so easy to log on your own, there is no default logging. Also: thanks for providing feedback, I'm certainly no capistrano expert so I'l probably be surprised about what people are missing :-) |
@ramondelafuente I'm good with this 👍. A lot of people just keep |
Any news on this one? It would be super useful to have it. |
Hi @ramondelafuente |
sorry for the delay, I'll be reviewing this soon |
+1 for this PR. If this is included, many people will ditch Capistrano(like tools) from their already busy lives. =] |
This PR is now without P* label. Is that a good or a bad sign? |
@ramondelafuente: I think good, see |
I assumed the |
LOL -- this looks very popular. :) And since @ramondelafuente is also an owner of other Extras modules, I'm adding the "owner_pr" tag as well. |
If we can find one more official reviewer to give this a +1, we can merge. Boilerplate of new official policy follows: Thanks for submitting your module to Ansible Extras. Our policy is that each new module needs to be reviewed and approved by at least two official module reviewers, the list of whom can be found here: https://github.com/ansible/ansible-modules-extras/blob/devel/REVIEWERS.md Because you’re already an approved reviewer, we assume that you’ve reviewed your own module; you just need to find one other person to review, and you’re all set. To ensure that your module has the best chance of being approved, please double-check that you adhere to the Ansible module guidelines: http://docs.ansible.com/developing_modules.html#module-checklist |
I've rebased this with devel, still looks good to go. But I'll go though it one last time to see if there's anything outdated there, besides the I'll join one of the community hangouts if I can to talk about getting that +1, because I don't seem to know any of the other maintainers :-) |
Yeah, I think we're going to try to have some explicit review-a-thons soon. Thanks for your patience. |
Any news on this one? Would be great to have it! |
Hi @ramondelafuente -- Adding new process. We will be evaluating all new module PRs according to this process, effective immediately. Thanks for submitting this new module to Ansible Extras! This module is now in community review, a process that is open to all Ansible users. In order for this module to be approved, it must gain the following votes: “works_for_me”: If you have tested the module thoroughly, including testing of all of the module’s options, and if the module works for you, please add “works_for_me” in the comments. “passes_guidelines”: If you have gone through the module guidelines and the module meets all of the requirements, please add “passes_guidelines” in the comments. Guidelines are available here: http://docs.ansible.com/developing_modules.html#module-checklist “needs_revision”: If the module fails to work for you, or if it doesn’t meet guidelines, please add “needs_revision” in the comments with details about what needs to be fixed. When a module has both “works_for_me” and “passes_guidelines” tags, we will promote the module for inclusion in Ansible Extras. At this point, you will be expected to maintain the module by fixing bugs and evaluating pull requests in a timely manner. Thanks again for submitting your Ansible module! |
Also, hi, @kingcrunch @MikeParkin @swalkinshaw @beberlei -- the above info on new process means that if you'd like to test this out and provide reviews to help get it approved and merged, you can do so :) It looks like lots of people have interest in this one so hopefully the interested folks can lend a hand and review! :) |
@robynbergeron I have rebased this PR on devel, and updated (I believe) to the new module guidelines. |
@ramondelafuente -- awesome, thank you! And thanks for sticking with this one -- I am hopeful that we will get this approved before we have to buy it a birthday cake. :) Attention, @MikeParkin @beberlei @kingcrunch @swalkinshaw (and adding @bcoca, who I know is busy but did express interest previously!) -- in case you missed the previous comment.... YOU, yes you, are able to provide the necessary reviews to get this module included in extras. Read on for more info! ** This module is now in community review, a process that is open to all Ansible users. In order for this module to be approved, it must gain the following votes: “works_for_me”: If you have tested the module thoroughly, including testing of all of the module’s options, and if the module works for you, please add “works_for_me” in the comments. “passes_guidelines”: If you have gone through the module guidelines and the module meets all of the requirements, please add “passes_guidelines” in the comments. Guidelines are available here: http://docs.ansible.com/developing_modules.html#module-checklist “needs_revision”: If the module fails to work for you, or if it doesn’t meet guidelines, please add “needs_revision” in the comments with details about what needs to be fixed. When a module has both “works_for_me” and “passes_guidelines” tags, we will promote the module for inclusion in Ansible Extras. |
works_for_me |
passes_guidelines |
Proposed new module: deploy_helper
After a discussion on the ansible-project mailinglist, this module was formed to help lower the boilerplate needed to deploy web-projects.
See the thread here: https://groups.google.com/d/msg/ansible-project/R3Kr2uMYUt4/b-WLJ3m6L1AJ
There are tests to accompany this module: ansible/ansible#9567
This pull request is accompanied by an additional guide for the documentation: ansible/ansible#9566Until both are merged, the documentation for this module contains an invalid link to doc:guide_deploy_helper