1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixes(#25299) Don't fail when creating a Foreman organization (#25396)

This commit is contained in:
Eric D Helms 2017-06-08 07:49:40 -04:00 committed by John R Barker
parent 6bd1681203
commit 2220362a5f

View file

@ -93,7 +93,7 @@ class NailGun(object):
if len(response) == 1:
return response[0]
else:
self._module.fail_json(msg="No Content View found for %s" % name)
return None
def organization(self, params):
name = params['name']