ansible/lib/ansible
John R Barker a23c95023b
Module deprecation: docs, scheme and tests (#34100)
Enforce module deprecation.
After module has reached the end of it's deprecation cycle we will replace it with a docs stub.

* Replace deprecated modules with docs-only sub
* Use of deprecated past deprecation cycle gives meaningful message (see examples below)
* Enforce documentation.deprecation dict via `schema.py`
* Update `ansible-doc` and web docs to display documentation.deprecation
* Document that structure in `dev_guide`
* Ensure that all modules starting with `_` have a `deprecation:` block
* Ensure `deprecation:` block is only used on modules that start with `_`
* `removed_in` A string which represents when this module needs **deleting**
* CHANGELOG.md and porting_guide_2.5.rst list removed modules as well as alternatives
* CHANGELOG.md links to porting guide index

To ensure that meaningful messages are given to the user if they try to use a module at the end of it's deprecation cycle we enforce the module to contain:
```python
if __name__ == '__main__':
    removed_module()
```
2018-01-30 12:23:52 +00:00
..
cli Module deprecation: docs, scheme and tests (#34100) 2018-01-30 12:23:52 +00:00
compat
config spelling (#35258) 2018-01-24 11:36:40 +00:00
errors Make AnsibleActionDone a private exception 2018-01-22 23:36:34 -08:00
executor Recursively remove args with omit as as their value, to match suboptions in argument_spec (#35299) 2018-01-26 11:07:04 -06:00
galaxy Catch exception comparing role versions, and provide a user friendly error message. Fixes #32301 (#34427) 2018-01-11 17:41:23 -06:00
inventory add inventory caching & use in virtualbox inventory plugin (#34510) 2018-01-22 19:33:14 -05:00
module_utils fixes error in dict_merge when merging list value (#35461) 2018-01-29 21:45:35 -05:00
modules Module deprecation: docs, scheme and tests (#34100) 2018-01-30 12:23:52 +00:00
parsing Remove deprecated code (#34828) 2018-01-23 12:02:09 -06:00
playbook Temporary (#31677) 2018-01-15 21:15:04 -08:00
plugins Fix triggering parent's always with run_once set (#35464) 2018-01-30 13:16:19 +01:00
template Remove incorrect assumption on exception constructors (#35271) 2018-01-26 11:07:58 -06:00
utils Infoblox should be run locally (#35390) 2018-01-29 20:38:36 +00:00
vars Don't skip an inventory source just because it has a comma (#35002) 2018-01-24 09:44:55 -06:00
__init__.py
constants.py Move module_set_locale and module_lang back to global 2018-01-22 18:38:15 -08:00
release.py