Merge "Whitelist ansible_python_interpreter for add_host"

This commit is contained in:
Zuul 2019-03-18 18:25:17 +00:00 committed by Gerrit Code Review
commit bdd9ff50a1
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
features:
- |
The ansible_python_interpreter variable is now whitelisted for the
add_host task.

View File

@ -22,6 +22,7 @@ class ActionModule(add_host.ActionModule):
def run(self, tmp=None, task_vars=None):
safe_args = set((
'ansible_connection',
'ansible_python_interpreter',
'ansible_host',
'ansible_port',
'ansible_user',