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)