Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mobule for git commits and other git actions #3403

Open
1 task done
mikedlr opened this issue Sep 20, 2021 · 3 comments
Open
1 task done

mobule for git commits and other git actions #3403

mikedlr opened this issue Sep 20, 2021 · 3 comments
Labels
feature This issue/PR relates to a feature request

Comments

@mikedlr
Copy link

mikedlr commented Sep 20, 2021

Summary

In order to be able to check that a git repository is correctly configured I would like to push a commit into that repository. Having an ansible module that would do that would make sense in my case.

There is a pre-existing module, git_acp. This has been discussed in ansible/ansible#50334 - I'm primarily creating this issue for discussion of whether it makes sense to merge that into the community collection (or some other collection). I haven't yet consulted others, however given the author started previous issue I'd guess they'd be willing and happy to have a merge.

Issue Type

Feature Idea

Component Name

git_acp

Additional Information

- name: SSH | push file1 and file2.
  git_acp:
    path: /Users/git/git_acp
    branch: master
    comment: Add file1 and file2.
    add: [ file1, file2 ]
    mode: ssh
    push_option: ci.skip
    url: "git@gitlab.com:networkAutomation/git_test_module.git"

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link
Collaborator

Files identified in the description:
None

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot ansibullbot added the feature This issue/PR relates to a feature request label Sep 20, 2021
@mikedlr
Copy link
Author

mikedlr commented Sep 20, 2021

Looks like the fact that ansible/ansible#50334 is locked means that this doesn't turn up there as a reference. It would be good if a contributor could add a comment to that issue so that people who were involved before know to comment here if still interested.

@felixfontein
Copy link
Collaborator

There already was a PR for this in this collection, #57, which was then split up into two modules, with a PR for the first: #168. That PR unfortunately wasn't completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request
Projects
None yet
Development

No branches or pull requests

3 participants