fix spelling mistakes in several modules (#36296)

* fix more spelling mistakes

* fix spelling mistakes
This commit is contained in:
Sebastian Gumprich
2018-03-12 11:00:19 +01:00
committed by Dag Wieers
parent a50db37c6c
commit 16c564c4b4
21 changed files with 33 additions and 33 deletions

View File

@@ -16,7 +16,7 @@ DOCUMENTATION = '''
module: gitlab_group
short_description: Creates/updates/deletes Gitlab Groups
description:
- When the group does not exists in Gitlab, it will be created.
- When the group does not exist in Gitlab, it will be created.
- When the group does exists and state=absent, the group will be deleted.
version_added: "2.1"
author: "Werner Dijkerman (@dj-wasabi)"
@@ -209,7 +209,7 @@ def main():
module.exit_json(changed=True, result="Successfully deleted group %s" % group_name)
else:
if state == "absent":
module.exit_json(changed=False, result="Group deleted or does not exists")
module.exit_json(changed=False, result="Group deleted or does not exist")
else:
if group_exists:
module.exit_json(changed=False)

View File

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

View File

@@ -16,7 +16,7 @@ DOCUMENTATION = '''
module: gitlab_user
short_description: Creates/updates/deletes Gitlab Users
description:
- When the user does not exists in Gitlab, it will be created.
- When the user does not exist in Gitlab, it will be created.
- When the user does exists and state=absent, the user will be deleted.
- When changes are made to user, the user will be updated.
version_added: "2.1"
@@ -352,7 +352,7 @@ def main():
# Check if user exists, if not exists and state = absent, we exit nicely.
if not user.existsUser(user_username) and state == "absent":
module.exit_json(changed=False, result="User already deleted or does not exists")
module.exit_json(changed=False, result="User already deleted or does not exist")
else:
# User exists,
if state == "absent":