new paths
This commit is contained in:
@@ -268,6 +268,7 @@ class Provision extends BaseController
|
|||||||
$destinationHomeFolder = "/home/chiefsoft/SITES/" . $ContainerName;
|
$destinationHomeFolder = "/home/chiefsoft/SITES/" . $ContainerName;
|
||||||
$composer_template_path_local = $partMachineLocal . $provisionUID;
|
$composer_template_path_local = $partMachineLocal . $provisionUID;
|
||||||
$composer_template_path_remote = $remote_composer_path . $provisionUID;
|
$composer_template_path_remote = $remote_composer_path . $provisionUID;
|
||||||
|
$ansible_transport_path = $ContainerName;
|
||||||
|
|
||||||
$this->db->query("UPDATE provision_plans SET updated = now() WHERE id = $planId");
|
$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");
|
$this->db->query("UPDATE members_products SET p_file = p_file + 1 WHERE id = $provisionId");
|
||||||
@@ -281,6 +282,7 @@ class Provision extends BaseController
|
|||||||
\"DESTINATION_FOLDER\":\"$destinationHomeFolder\",
|
\"DESTINATION_FOLDER\":\"$destinationHomeFolder\",
|
||||||
\"WHAT_PART_LOCAL\":\"$composer_template_path_local\",
|
\"WHAT_PART_LOCAL\":\"$composer_template_path_local\",
|
||||||
\"WHAT_PART_REMOTE\":\"$composer_template_path_remote\",
|
\"WHAT_PART_REMOTE\":\"$composer_template_path_remote\",
|
||||||
|
\"ANSIBLE_TRANSPORT_PATH\":\"$ansible_transport_path\",
|
||||||
\"RSYNC_PASSWORD\":\"$rsyncPass\"
|
\"RSYNC_PASSWORD\":\"$rsyncPass\"
|
||||||
}"
|
}"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user