Add attributes to git* modules (#5947)

Add attributes to git* modules.
This commit is contained in:
Felix Fontein 2023-02-20 17:26:28 +01:00 committed by GitHub
parent 1b2c2af9a8
commit 3186a944e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 140 additions and 14 deletions

View file

@ -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: