mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
[PR #5947/3186a944 backport][stable-6] Add attributes to git* modules (#6018)
Add attributes to git* modules (#5947)
Add attributes to git* modules.
(cherry picked from commit 3186a944e9
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
27906ca76b
commit
2f05cd3330
19 changed files with 140 additions and 14 deletions
|
@ -21,10 +21,17 @@ requirements: ['git']
|
|||
short_description: Read and write git configuration
|
||||
description:
|
||||
- The C(git_config) module changes git configuration by invoking 'git config'.
|
||||
This is needed if you don't want to use M(ansible.builtin.template) for the entire git
|
||||
config file (e.g. because you need to change just C(user.email) in
|
||||
This is needed if you do not want to use M(ansible.builtin.template) for the entire git
|
||||
config file (for example because you need to change just C(user.email) in
|
||||
/etc/.git/config). Solutions involving M(ansible.builtin.command) are cumbersome or
|
||||
don't work correctly in check mode.
|
||||
do not work correctly in check mode.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
list_all:
|
||||
description:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue