diff options
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"' |