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:
Matt Clay 2018-01-16 15:08:56 -08:00 committed by GitHub
parent 240024ea4a
commit 227ff61f9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 533 additions and 344 deletions

View file

@ -96,8 +96,6 @@ EXAMPLES = """
password: "{{ password }}"
transport: cli
tasks:
tasks:
- name: "Run display version on remote devices"
ce_command:

View file

@ -166,7 +166,7 @@ end_state:
type: dict
sample: {"process_id": "1", "area": "0.0.0.100", "interface": "10GE1/0/30",
"cost": "100", "dead_interval": "40", "hello_interval": "10",
"process_id": "6", "silent_interface": "false", "auth_mode": "none"}
"silent_interface": "false", "auth_mode": "none"}
updates:
description: commands sent to the device
returned: always

View file

@ -158,7 +158,7 @@ end_state:
returned: always
type: dict
sample: {"snmp local user": {"local_user_info": []},
"snmp local user": {"local_user_info": [{"aclNumber": "2000", "engineID": "800007DB03389222111200",
"snmp usm user": {"usm_user_info": [{"aclNumber": "2000", "engineID": "800007DB03389222111200",
"groupName": "wdz_group", "userName": "wdz_snmp"}]}}
updates:
description: command sent to the device