This commit is contained in:
Felix Fontein 2020-01-13 07:27:07 +01:00 committed by GitHub
parent 654b9e2754
commit b070fd1630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,7 +248,7 @@ class Connection(ConnectionBase):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
if not HAS_BOTO_3: if not HAS_BOTO_3:
raise AnsibleError('{0}: {1}'.format(missing_required_lib("ncclient"), HAS_BOTO_3_ERROR)) raise AnsibleError('{0}: {1}'.format(missing_required_lib("boto3"), HAS_BOTO_3_ERROR))
super(Connection, self).__init__(*args, **kwargs) super(Connection, self).__init__(*args, **kwargs)
self.host = self._play_context.remote_addr self.host = self._play_context.remote_addr