Skip to content

Commit

Permalink
update document, fix sanity error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred-sun committed Mar 30, 2022
1 parent eec0a65 commit 0590bad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
9 changes: 7 additions & 2 deletions plugins/modules/azure_rm_automationrunbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
- The name of the automation account.
type: str
required: True
location:
description:
- The location of the automation runbook.
type: str
description:
description:
- Sets the description.
Expand Down Expand Up @@ -169,6 +173,7 @@
returned: always
sample: Fred-sun
last_modified_time:
description:
- The last person to update the resource.
type: str
returned: always
Expand All @@ -181,13 +186,13 @@
sample: 3
log_progress:
description:
- Wether show progress log option..
- Whether show progress log option.
type: bool
returned: always
sample: True
log_verbose:
description:
- Wether show verbose log option.
- Whether show verbose log option.
type: bool
returned: always
sample: True
Expand Down
9 changes: 6 additions & 3 deletions plugins/modules/azure_rm_automationrunbook_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
description:
- The name of the automation account.
type: str
required: True
name:
description:
- The name of the automation runbook.
Expand All @@ -37,6 +38,7 @@
extends_documentation_fragment:
- azure.azcollection.azure
- azure.azcollection.azure_tags
author:
- Fred Sun (@Fred-sun)
Expand Down Expand Up @@ -115,6 +117,7 @@
returned: always
sample: Fred-sun
last_modified_time:
description:
- The last person to update the resource.
type: str
returned: always
Expand All @@ -127,13 +130,13 @@
sample: 3
log_progress:
description:
- Wether show progress log option..
- Whether show progress log option.
type: bool
returned: always
sample: True
log_verbose:
description:
- Wether show verbose log option.
- Whether show verbose log option.
type: bool
returned: always
sample: True
Expand Down Expand Up @@ -203,7 +206,7 @@ def __init__(self):
self.automation_account_name = None
self.show_content = None

super(AzureRMAutomationRunbookInfo, self).__init__(self.module_arg_spec, supports_tags=True)
super(AzureRMAutomationRunbookInfo, self).__init__(self.module_arg_spec, supports_check_mode=True, supports_tags=True)

def exec_module(self, **kwargs):

Expand Down

0 comments on commit 0590bad

Please sign in to comment.