Closed ClementGautier closed 2 years ago
Hi 👋
It seems the following step sometimes fail when the agent isn't fast enough to register the device in jumpcloud:
TASK [inviqa.jumpcloud : Look for Jumpcloud System Key] *************************************************************************** fatal: [ubuntu]: FAILED! => {"changed": true, "cmd": ["grep", "-o", "-P", "(?<=systemKey\\\":\\\")[a-zA-Z0-9]*", "/opt/jc/jcagent.c onf"], "delta": "0:00:00.013875", "end": "2021-10-08 10:56:03.815038", "msg": "non-zero return code", "rc": 1, "start": "2021-10-08 10:56:03.801163", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
When I relaunch the role it works fine but it's kind of annoying. I'll work on a pull request to fix that by adding a retry loop if that's ok.
Hi 👋
It seems the following step sometimes fail when the agent isn't fast enough to register the device in jumpcloud:
When I relaunch the role it works fine but it's kind of annoying. I'll work on a pull request to fix that by adding a retry loop if that's ok.