Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.47 KB

Development.md

File metadata and controls

26 lines (17 loc) · 1.47 KB

cisco.intersight Collection Development Notes

Current Development Status

Configuration Category Configuration Task Module Name
General purpose resource config Any (with user provided data) intersight_rest_api
Resource data collection/inventory GET servers information intersight_facts

Ansible Development Notes

Modules in development follow processes documented at http://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html. The modules support ansible-doc and should eventually have integration tests.

When developing modules in this repository, here are a few helpful commands to sanity check the code and documentation (replace module_name with your module (e.g., intersight_objects)). Ansible modules won't generally be pylint or pycodestyle (PEP8) clean without disabling several of the checks:

pylint --disable=invalid-name,no-member,too-many-nested-blocks,redefined-variable-type,too-many-statements,too-many-branches,broad-except,line-too-long,missing-docstring,wrong-import-position,too-many-locals,import-error <module_name>.py

pycodestyle --max-line-length 160 --config /dev/null --ignore E402 <module_name>.py

ansible-doc <module_name>

Community: