New provison

This commit is contained in:
CHIEFSOFT\ameye
2025-01-25 15:22:06 -05:00
parent 9641eff93b
commit bf86edd465
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export PROJECT_ID=8
# 4. Lauch task
curl -XPOST \
-H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Authorization: Bearer '$TOKEN \
-d '{"template_id": 1, "debug": false, "dry_run": false, "playbook": "23607_devprov_mermsemr_com.yml", "environment": "{}"}' \
-d '{"template_id": 1, "debug": false, "dry_run": false, "playbook": "/var/www/html/ANSIBLE/23607_devprov_mermsemr_com.yml", "environment": "{}"}' \
"http://172.16.4.90:3000/api/project/$PROJECT_ID/tasks" > task.txt
export TASK_ID=`cat task.txt | jq .id | xargs echo`
+1 -1
View File
@@ -14,7 +14,7 @@ class Provision extends BaseController
$this->prepareDataBase(); // allocte port for the conyainer use
$this->updateProvision();
return 0;
}