mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-07 08:54:01 -07:00
Add module support to yamllint sanity test. (#34964)
* Add module support to yamllint sanity test. * Fix duplicate keys in module RETURN docs. * Fix syntax in return_common docs fragment. * Fix duplicate keys in module EXAMPLES docs.
This commit is contained in:
parent
240024ea4a
commit
227ff61f9d
53 changed files with 533 additions and 344 deletions
|
@ -596,19 +596,23 @@ EXAMPLES = '''
|
|||
#
|
||||
|
||||
# instances with tag foo
|
||||
- ec2:
|
||||
count_tag:
|
||||
foo:
|
||||
|
||||
# instances with tag foo=bar
|
||||
- ec2:
|
||||
count_tag:
|
||||
foo: bar
|
||||
|
||||
# instances with tags foo=bar & baz
|
||||
- ec2:
|
||||
count_tag:
|
||||
foo: bar
|
||||
baz:
|
||||
|
||||
# instances with tags foo & bar & baz=bang
|
||||
- ec2:
|
||||
count_tag:
|
||||
- foo
|
||||
- bar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue