diff options
author | Felix Fontein <felix@fontein.de> | 2020-06-10 00:21:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 15:21:19 -0700 |
commit | a862ff2d4324f871565ef5b749c6a96ad0ad767e (patch) | |
tree | 2e34f490a9c5f5c9da26e26defb65d33cd2143e9 /lib/ansible/plugins/action/__init__.py | |
parent | 7bff3d312f21ea1ccb3bc4a1abdb95a0369361f8 (diff) | |
download | ansible-a862ff2d4324f871565ef5b749c6a96ad0ad767e.tar.gz |
Deprecation revisited (#69926)
* Allow to specify collection_name separately for deprecation.
* Use new functionality in Ansible.
* Use new functionality in tests.
* Update tagging/untagging functions.
* Update pylint deprecated sanity test.
* Update validate-modules. Missing are basic checks for version_added (validate semantic version format for collections).
* Improve version validation. Re-add version_added validation.
* Make sure collection names are added to return docs before schema validation.
* Extra checks to avoid crashes on bad data.
* Make C# module utils code work, and update/extend tests.
* Add changelog fragment.
* Stop extracting collection name from potentially tagged versions/dates.
* Simplify C# code.
* Update Windows modules docs.
* Forgot semicolons.
Diffstat (limited to 'lib/ansible/plugins/action/__init__.py')
-rw-r--r-- | lib/ansible/plugins/action/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/plugins/action/__init__.py b/lib/ansible/plugins/action/__init__.py index 614c61494d..fc5cf9021d 100644 --- a/lib/ansible/plugins/action/__init__.py +++ b/lib/ansible/plugins/action/__init__.py @@ -831,7 +831,7 @@ class ActionBase(with_metaclass(ABCMeta, object)): msg = "Setting the async dir from the environment keyword " \ "ANSIBLE_ASYNC_DIR is deprecated. Set the async_dir " \ "shell option instead" - self._display.deprecated(msg, "ansible.builtin:2.12") + self._display.deprecated(msg, "2.12", collection_name='ansible.builtin') else: # ANSIBLE_ASYNC_DIR is not set on the task, we get the value # from the shell option and temporarily add to the environment |