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

```
lib/ansible/plugins/strategy/__init__.py:937:16: 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/strategy/__init__.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

'''
        Helper function to add a new host to inventory based on a task result.
        '''
        changed = False
        if host_info:
            host_name = host_info.get('host_name')
            
            if host_name not in self._inventory.hosts:
                self._inventory.add_host(host_name, 'all')
                self._hosts_cache_all.append(host_name)
                changed = True
            new_host = self._inventory.hosts.get(host_name)
            
            new_host_vars = new_host.get_vars()
            new_host_combined_vars = combine_vars(new_host_vars, host_info.get('host_vars', dict()))
            if new_host_vars != new_host_combined_vars:
                new_host.vars = new_host_combined_vars
                changed = True