-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fqcn[deep]: detect deep plugins (#3502)
- Loading branch information
Showing
8 changed files
with
153 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
"""An ansible test module.""" | ||
|
||
|
||
DOCUMENTATION = """ | ||
module: mod_1 | ||
author: | ||
- test | ||
short_description: This is a test module | ||
description: | ||
- This is a test module | ||
version_added: 1.0.0 | ||
options: | ||
foo: | ||
description: | ||
- Dummy option I(foo) | ||
type: str | ||
bar: | ||
description: | ||
- Dummy option I(bar) | ||
default: candidate | ||
type: str | ||
choices: | ||
- candidate | ||
- running | ||
aliases: | ||
- bam | ||
notes: | ||
- This is a dummy module | ||
""" | ||
|
||
EXAMPLES = """ | ||
- name: test task-1 | ||
company_name.coll_1.mod_1: | ||
foo: some value | ||
bar: candidate | ||
""" | ||
|
||
RETURN = """ | ||
baz: | ||
description: test return 1 | ||
returned: success | ||
type: list | ||
sample: ['a','b'] | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
"""An ansible test module.""" | ||
|
||
|
||
DOCUMENTATION = """ | ||
module: mod_2 | ||
author: | ||
- test | ||
short_description: This is a test module | ||
description: | ||
- This is a test module | ||
version_added: 1.0.0 | ||
options: | ||
foo: | ||
description: | ||
- Dummy option I(foo) | ||
type: str | ||
bar: | ||
description: | ||
- Dummy option I(bar) | ||
default: candidate | ||
type: str | ||
choices: | ||
- candidate | ||
- running | ||
aliases: | ||
- bam | ||
notes: | ||
- This is a dummy module | ||
""" | ||
|
||
EXAMPLES = """ | ||
- name: test task-1 | ||
company_name.coll_1.mod_2: | ||
foo: some value | ||
bar: candidate | ||
""" | ||
|
||
RETURN = """ | ||
baz: | ||
description: test return 1 | ||
returned: success | ||
type: list | ||
sample: ['a','b'] | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters