-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Conversation
Code is now also 100% PEP8 compliant 👍 |
fac9555
to
ed17cd9
Compare
Hi Linus, Thanks for submitting this new module. ;) Per the Ansible module guidelines: http://docs.ansible.com/developing_modules.html#module-checklist -- can you update the author line and add in your github ID? Thanks! |
Sorry, I actually read thru that but I must have missed that line. Amending now. |
439ca1f
to
909c004
Compare
Looking around for how I should specify it I noticed that there are some inconsistencies in how each module specify it's info. I changed the author line to be |
@robynbergeron Care to review my changes? 😄 👍 |
@LinusU yeah, there are definitely inconsistencies around :) Doing our best to catch up with the old ones, and make sure new things are coming in with the right info. The most useful thing for myself and @gregdek as triage folks is to be able to actually find a github ID quickly rather than consulting the googleverse :) (I can't comment on the string vs. float -- not sure if that's something @gregdek has been looking at or not in our triage-a-thon?) Thanks for the update -- I'll put this in community_review, with the new community PR review process info :) |
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! |
Great addition! Goes nicely with the
Cheers! |
Thank you! \o/ |
@conorsch -- thanks for reviewing this for both guidelines and functionality! @LinusU -- Congratulations! You are now the maintainer of a module in Extras. Thanks so much for your contribution! Marking this shiny new module for inclusion... one of the first to be moving in under the new policy for reviewing new extras modules. YAY, validation! (Sorry, I'm excited :D) cc @ansible/core team. |
@robynbergeron The new guidelines are a huge improvement—thanks for advocating for more inclusive reviews! |
Awesome!! |
@conorsch -- I'm delighted to hear that :) Tell your friends! :D I'm super hopeful that people will remember to pass on the review love their modules receive -- or that those giving reviews will have receive them back in the future :) |
supports_check_mode=True, | ||
argument_spec=dict( | ||
target=dict(required=False, default=None), | ||
params=dict(required=False, default=None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense for params to be a dict type or is it really any free form string?
@LinusU hey, I was just going through tickets I'd commented on and saw that this one still had my question about the type of the params argument. Any information from you? |
Sorry, this has fallen thru the cracks. I think it makes sense to let |
module: make | ||
short_description: Run targets in a Makefile | ||
requirements: [] | ||
version_added: "1.9" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this also need to be updated
|
@LinusU A friendly reminder: this pull request has been marked as needing your action. If you still believe that this PR applies, and you intend to address the issues with this PR, just let us know in the PR itself and we will keep it open pending your changes. |
Yes, sorry for the delay on this, I'll update as soon as I can :) |
'ready_for_review' Updated to use dict 🙌 |
There are still 2 failing checks:
|
Does anyone know how the Also, is there any reasoning on "ansible.module_utils.basic import not near call to main()" somewhere? It breaks PEP8. |
Should work now 👍 |
Thanks 🙌 |
This is a new module that runs the
make
command on the target. The benefit of using this module instead of theshell
module is that it supports "check mode" and only reportschanged
where appropriate.