From 15041e57b2b306da3a4211833f22effa0f4eb4e7 Mon Sep 17 00:00:00 2001 From: Jake Jackson Date: Wed, 20 Nov 2019 14:57:15 -0500 Subject: [PATCH] sqaushed and fixed sanity test issues --- awx_collection/plugins/modules/tower_job_template.py | 2 +- awx_collection/plugins/modules/tower_project.py | 2 +- awx_collection/plugins/modules/tower_role.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/awx_collection/plugins/modules/tower_job_template.py b/awx_collection/plugins/modules/tower_job_template.py index 3d8a7a0730..18d77db66d 100644 --- a/awx_collection/plugins/modules/tower_job_template.py +++ b/awx_collection/plugins/modules/tower_job_template.py @@ -35,7 +35,7 @@ options: job_type: description: - The job type to use for the job template. - required: True + required: False choices: ["run", "check"] type: str inventory: diff --git a/awx_collection/plugins/modules/tower_project.py b/awx_collection/plugins/modules/tower_project.py index d886a03460..acce4f2dde 100644 --- a/awx_collection/plugins/modules/tower_project.py +++ b/awx_collection/plugins/modules/tower_project.py @@ -146,7 +146,7 @@ except ImportError: def main(): argument_spec = dict( - name=dict(), + name=dict(required=True), description=dict(), organization=dict(), scm_type=dict(choices=['manual', 'git', 'hg', 'svn'], default='manual'), diff --git a/awx_collection/plugins/modules/tower_role.py b/awx_collection/plugins/modules/tower_role.py index 991bd426bd..533d64075f 100644 --- a/awx_collection/plugins/modules/tower_role.py +++ b/awx_collection/plugins/modules/tower_role.py @@ -125,7 +125,7 @@ def main(): user=dict(), team=dict(), role=dict(choices=["admin", "read", "member", "execute", "adhoc", "update", "use", "auditor", "project_admin", "inventory_admin", "credential_admin", - "workflow_admin", "notification_admin", "job_template_admin"]), + "workflow_admin", "notification_admin", "job_template_admin"], required=True), target_team=dict(), inventory=dict(), job_template=dict(),