Merge "Handle private IPv6 addresses supplied by Nodepool"
This commit is contained in:
commit
f65982cf86
|
@ -3475,6 +3475,7 @@ class FakeNodepool(object):
|
|||
public_ipv4=remote_ip,
|
||||
private_ipv4=None,
|
||||
public_ipv6=None,
|
||||
private_ipv6=None,
|
||||
python_path=self.python_path,
|
||||
shell_type=self.shell_type,
|
||||
allocated_to=request_id,
|
||||
|
|
|
@ -1584,7 +1584,8 @@ class AnsibleJob(object):
|
|||
interface_ip=node.get('interface_ip'),
|
||||
public_ipv4=node.get('public_ipv4'),
|
||||
private_ipv4=node.get('private_ipv4'),
|
||||
public_ipv6=node.get('public_ipv6'))))
|
||||
public_ipv6=node.get('public_ipv6'),
|
||||
private_ipv6=node.get('private_ipv6'))))
|
||||
|
||||
# Ansible >=2.8 introduced "auto" as an
|
||||
# ansible_python_interpreter argument that looks up
|
||||
|
|
|
@ -599,6 +599,7 @@ class Node(ConfigObject):
|
|||
self.public_ipv4 = None
|
||||
self.private_ipv4 = None
|
||||
self.public_ipv6 = None
|
||||
self.private_ipv6 = None
|
||||
self.connection_port = 22
|
||||
self.connection_type = None
|
||||
self._keys = []
|
||||
|
|
Loading…
Reference in New Issue