From 78efef260711aa44239b6fc561bfde598e2f5f29 Mon Sep 17 00:00:00 2001 From: Lukas Hellebrandt Date: Fri, 23 Jun 2023 11:12:33 +0200 Subject: [PATCH] Actually returns task id --- nailgun/entities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nailgun/entities.py b/nailgun/entities.py index 01a3042d..e33c4c32 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -4893,7 +4893,7 @@ def play_ansible_roles(self, synchronous=True, timeout=None, **kwargs): :param timeout: Maximum number of seconds to wait until timing out. Defaults to ``nailgun.entity_mixins.TASK_TIMEOUT``. :param kwargs: Arguments to pass to requests. - :returns: The server's response, with all content decoded. + :returns: Ansible task id :raises: ``requests.exceptions.HTTPError`` If the server responds with an HTTP 4XX or 5XX message.