mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 12:44:22 -07:00
Revert "Enable host_key checking at the strategy level"
This reverts commit 1a6d660d7e285cceec474952a33af4d8dffd0a8d.
This commit is contained in:
parent
586208234c
commit
e546219426
6 changed files with 33 additions and 273 deletions
|
@ -57,7 +57,6 @@ class Host:
|
|||
name=self.name,
|
||||
vars=self.vars.copy(),
|
||||
address=self.address,
|
||||
has_hostkey=self.has_hostkey,
|
||||
uuid=self._uuid,
|
||||
gathered_facts=self._gathered_facts,
|
||||
groups=groups,
|
||||
|
@ -66,11 +65,10 @@ class Host:
|
|||
def deserialize(self, data):
|
||||
self.__init__()
|
||||
|
||||
self.name = data.get('name')
|
||||
self.vars = data.get('vars', dict())
|
||||
self.address = data.get('address', '')
|
||||
self.has_hostkey = data.get('has_hostkey', False)
|
||||
self._uuid = data.get('uuid', uuid.uuid4())
|
||||
self.name = data.get('name')
|
||||
self.vars = data.get('vars', dict())
|
||||
self.address = data.get('address', '')
|
||||
self._uuid = data.get('uuid', uuid.uuid4())
|
||||
|
||||
groups = data.get('groups', [])
|
||||
for group_data in groups:
|
||||
|
@ -91,7 +89,6 @@ class Host:
|
|||
|
||||
self._gathered_facts = False
|
||||
self._uuid = uuid.uuid4()
|
||||
self.has_hostkey = False
|
||||
|
||||
def __repr__(self):
|
||||
return self.get_name()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue