fixes issue that caused eapi transport setting to get lost (#21919)

The eos action didn't properly set provider transport argument for the
module.  This patch fixes that problem
This commit is contained in:
Peter Sprygada 2017-02-25 15:20:32 -05:00 committed by GitHub
parent 01ac1bc6e5
commit f9b108e319
2 changed files with 4 additions and 3 deletions

View file

@ -87,6 +87,7 @@ class ActionModule(_ActionModule):
else:
provider_arg = {
'transport': 'eapi',
'host': provider.get('host') or self._play_context.remote_addr,
'port': provider.get('port'),
'username': provider.get('username') or self._play_context.connection_user,