diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2021-09-02 17:04:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 14:04:40 -0700 |
commit | 19261a7bedc58ad75a5e1781c1c8b3ebdc582a63 (patch) | |
tree | 0ffa1d013207f4128c7dc791eba867ef43243bb0 /test | |
parent | e926f5fe99da9e64381b82652427b2c1f8568b72 (diff) | |
download | ansible-19261a7bedc58ad75a5e1781c1c8b3ebdc582a63.tar.gz |
Attributes compat (#75563) (#75622)
* Attributes compat (#75563)
* ignore 'attributes' for json dump
let existing overrides display, wont be full info but still pertinent info
though user will have to check newer versions
(cherry picked from commit 463cf9fe244430249701509fc3ee7636a18afc44)
(cherry picked from commit 93cc74ba13c28785d8e4b62adc8eb62f42860efb)
* Update test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py b/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py index 2fe1c8fdb3..aa3fabb831 100644 --- a/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py +++ b/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py @@ -196,7 +196,8 @@ def doc_schema(module_name, version_added=True): 'requirements': list_string_types, 'todo': Any(None, list_string_types, *string_types), 'options': Any(None, *list_dict_option_schema), - 'extends_documentation_fragment': Any(list_string_types, *string_types) + 'extends_documentation_fragment': Any(list_string_types, *string_types), + 'attributes': object, } if version_added: |