From 14e0984fece5c2c6c2005abf2ac0b26c6462a1d0 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 25 Jan 2025 16:13:53 -0500 Subject: [PATCH] Fix file --- ANSIBLE/auto_play.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ANSIBLE/auto_play.sh b/ANSIBLE/auto_play.sh index 2626110..6a50788 100644 --- a/ANSIBLE/auto_play.sh +++ b/ANSIBLE/auto_play.sh @@ -24,9 +24,9 @@ export TOKEN=`cat tokens.txt | jq .[-1].id | xargs echo` echo "Obtained token: $TOKEN" # DEBUG -# curl \ -# -H 'Content-Type: application/json' -H 'Accept: application/json' -H "Authorization: Bearer $TOKEN" \ -# "http://172.16.4.90:3000/api/projects" -v +curl \ +-H 'Content-Type: application/json' -H 'Accept: application/json' -H "Authorization: Bearer $TOKEN" \ +"http://172.16.4.90:3000/api/projects" -v #curl -b /tmp/semaphore-cookie "http://172.16.4.90:3000/api/projects" # 3. Pre-created project (playbooks are stored in git repository and configured through templates 7 variables)