diff options
author | Ole Mathias Aa. Heggem <olemathias.aa.heggem@gmail.com> | 2025-04-13 07:18:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-13 07:18:45 +0200 |
commit | 4ea3a099b05fa910498bfbf1b2d7387118355472 (patch) | |
tree | c248cf6764412471ee3e0d1218761bee19fb396a /web/api/write/fap | |
parent | 09710c061d5b8ae86b3dfe49f4b8936c13a10535 (diff) |
Diffstat (limited to 'web/api/write/fap')
-rwxr-xr-x | web/api/write/fap | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/web/api/write/fap b/web/api/write/fap deleted file mode 100755 index 1211349..0000000 --- a/web/api/write/fap +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -fil=/var/log/apache2/kek -echo 'Content-Type: text/html' -echo -echo -pw="<redacted>" -sw=$(echo $PATH_INFO | sed 's/^\///') -POST -H'Content-Type: application/json' https://gondul:${pw}@awx.tg23.gathering.org/api/v2/job_templates/19/launch/ >/dev/null 2>&1 <<_EOF_ -{"credential_passwords":{},"limit":"$sw","extra_vars":{}} -_EOF_ -ret=$? -./oplog >/dev/null 2>&1 <<_EOF_ -{"systems": "$sw", "log": "Refap queued in AWX for $sw"} -_EOF_ -while read; do - true -done -echo '"ok"' |