1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00

Run formatters

This commit is contained in:
quasd 2026-02-10 15:58:23 +02:00 committed by GitHub
parent d6ccc07639
commit 1d4d249108
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -203,7 +203,9 @@ class HostIPAClient(IPAClient):
return self._post_json(method="host_show", name=name)
def host_find(self, name):
return self._append_keytab_status(self._post_json(method="host_find", name=None, item={"all": True, "fqdn": name}), name)
return self._append_keytab_status(
self._post_json(method="host_find", name=None, item={"all": True, "fqdn": name}), name
)
def host_add(self, name, host):
return self._append_keytab_status(self._post_json(method="host_add", name=name, item=host), name)