$_ENV['ANSIBLE_TEMPLATE_ID']

This commit is contained in:
CHIEFSOFT\ameye
2025-09-24 17:34:38 -04:00
parent 379c670e7f
commit a4bee6cf0c
3 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -373,7 +373,7 @@ class Provision extends BaseController
$this->db->query("UPDATE provision_plans SET updated = now() WHERE id = $planId");
// $this->db->query("UPDATE members_products SET p_file = p_file + 1 WHERE id = $provisionId");
$params = [
"template_id" => 2,
"template_id" => $_ENV['ANSIBLE_TEMPLATE_ID'],
"debug" => false,
"dry_run" => false,
"playbook" => $playbook,
@@ -743,7 +743,7 @@ class Provision extends BaseController
$this->db->query("UPDATE provision_plans SET updated = now() WHERE id = $planId");
$this->db->query("UPDATE members_products SET p_file = p_file + 1 WHERE id = $provisionId");
$params = [
"template_id" => 2,
"template_id" => $_ENV['ANSIBLE_TEMPLATE_ID'],
"debug" => false,
"dry_run" => false,
"playbook" => $playbook,