File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 75
75
portainer)
76
76
target_host="port.lan"
77
77
;;
78
+ runner)
79
+ target_host="runner.lan"
80
+ ;;
78
81
twingate)
79
82
target_host="twingate.lan"
80
83
;;
@@ -98,10 +101,6 @@ jobs:
98
101
job_id=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/job_templates/13/jobs/?order_by=-id | jq -r '.results[0].id')
99
102
logs=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/?format=json)
100
103
echo "AWX Job Logs for folder: $folder"
101
- echo "Range:"
102
- echo "Start: $(echo "$logs" | jq -r '.range.start')"
103
- echo "End: $(echo "$logs" | jq -r '.range.end')"
104
- echo "Absolute End: $(echo "$logs" | jq -r '.range.absolute_end')"
105
104
echo "Content:"
106
105
echo "$(echo "$logs" | jq -r '.content')"
107
106
done
You can’t perform that action at this time.
0 commit comments