mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
fix spelling mistakes in several modules (#36296)
* fix more spelling mistakes * fix spelling mistakes
This commit is contained in:
committed by
Dag Wieers
parent
a50db37c6c
commit
16c564c4b4
@@ -16,7 +16,7 @@ DOCUMENTATION = '''
|
||||
module: gitlab_project
|
||||
short_description: Creates/updates/deletes Gitlab Projects
|
||||
description:
|
||||
- When the project does not exists in Gitlab, it will be created.
|
||||
- When the project does not exist in Gitlab, it will be created.
|
||||
- When the project does exists and state=absent, the project will be deleted.
|
||||
- When changes are made to the project, the project will be updated.
|
||||
version_added: "2.1"
|
||||
@@ -397,7 +397,7 @@ def main():
|
||||
module.exit_json(changed=True, result="Successfully deleted project %s" % project_name)
|
||||
else:
|
||||
if state == "absent":
|
||||
module.exit_json(changed=False, result="Project deleted or does not exists")
|
||||
module.exit_json(changed=False, result="Project deleted or does not exist")
|
||||
else:
|
||||
if project.createOrUpdateProject(project_exists, group_name, import_url, arguments):
|
||||
module.exit_json(changed=True, result="Successfully created or updated the project %s" % project_name)
|
||||
|
||||
Reference in New Issue
Block a user