mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
Revert "fix indentation"
This reverts commit 42b55a07cd132c1b55379908d4c353edeae648cb.
This commit is contained in:
parent
e1914a0e62
commit
fc300723da
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ class Inventory(object):
|
||||||
|
|
||||||
def get_host(self, hostname):
|
def get_host(self, hostname):
|
||||||
for group in self.groups:
|
for group in self.groups:
|
||||||
for host in group.get_hosts():
|
for host in group.get_hosts():
|
||||||
if hostname == host.name:
|
if hostname == host.name:
|
||||||
return host
|
return host
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue