##### SUMMARY
async_status contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
lib/ansible/plugins/action/async_status.py:36:12: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
lib/ansible/plugins/action/async_status.py
```

##### ANSIBLE VERSION
```
2.12
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
from ansible.errors import AnsibleActionFail
from ansible.plugins.action import ActionBase
from ansible.utils.vars import merge_hash
class ActionModule(ActionBase):
    _VALID_ARGS = frozenset(('jid', 'mode'))
    def _get_async_dir(self):
        
        async_dir = self.get_shell_option('async_dir', default="~/.ansible_async")
        
        
        
        env_async_dir = [e for e in self._task.environment if "ANSIBLE_ASYNC_DIR" in e]
        if len(env_async_dir) > 0:
            async_dir = env_async_dir[0]['ANSIBLE_ASYNC_DIR']
            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, "2.12", collection_name='ansible.builtin')
        return self._remote_expand_user(async_dir)
    def run(self, tmp=None, task_vars=None):