mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
git_config: remove required=false from arg spec (#10177)
* git_config: remove required=false from arg spec * add changelog frag
This commit is contained in:
@@ -149,10 +149,10 @@ def main():
|
||||
name=dict(type='str', required=True),
|
||||
repo=dict(type='path'),
|
||||
file=dict(type='path'),
|
||||
add_mode=dict(required=False, type='str', default='replace-all', choices=['add', 'replace-all']),
|
||||
scope=dict(required=False, type='str', choices=['file', 'local', 'global', 'system']),
|
||||
state=dict(required=False, type='str', default='present', choices=['present', 'absent']),
|
||||
value=dict(required=False),
|
||||
add_mode=dict(type='str', default='replace-all', choices=['add', 'replace-all']),
|
||||
scope=dict(type='str', choices=['file', 'local', 'global', 'system']),
|
||||
state=dict(type='str', default='present', choices=['present', 'absent']),
|
||||
value=dict(),
|
||||
),
|
||||
required_if=[
|
||||
('scope', 'local', ['repo']),
|
||||
|
||||
Reference in New Issue
Block a user