keeping track of interpreter discovery vars in case of ansible < 2.8

This commit is contained in:
Steven Robertson 2020-02-05 17:20:28 -08:00
parent f10fb7d486
commit 160dbd86b4
1 changed files with 5 additions and 0 deletions

View File

@ -505,6 +505,11 @@ class Connection(ansible.plugins.connection.ConnectionBase):
# set by `_get_task_vars()` for interpreter discovery # set by `_get_task_vars()` for interpreter discovery
_action = None _action = None
# redeclaring interpreter discovery vars here in case running ansible < 2.8.0
_discovered_interpreter_key = None
_discovered_interpreter = False
_discovery_deprecation_warnings = []
_discovery_warnings = []
def __del__(self): def __del__(self):
""" """