Hi All, I have configured a script, that uses a inventory script as source (AWX 6.1.0). This inventory script is a bash script similar to this, and run with a schedule every 2 hours:
#!/bin/bash
curl -sSfL -H “Authorization: Apikey xxxx” https://xxx-dev.xxx.com/ansible/inventory
The problem is that the URL sometimes fails, and that makes that the inventory gets empty. Is there any way to avoid this, so the inventory is not reset when the script fails?