WHAT_PART_LOCAL

This commit is contained in:
CHIEFSOFT\ameye
2025-01-19 21:06:10 -05:00
parent e8d65e1d7f
commit ce77c7c960
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
tasks:
- name: Set up docker-compose file
template:
src: "WHAT_PART_FOLDER_LOCAL/docker-compose.yml"
src: "WHAT_PART_LOCAL/docker-compose.yml"
dest: "DESTINATION_FOLDER"
- name: docker compose up
+1 -1
View File
@@ -61,7 +61,7 @@ class Home extends BaseController
$template_content_processed = str_replace("WHAT_HOST_IN_USE", $productId."_SERVER", $template_content);
$template_content_processed = str_replace("WHAT_PART_FOLDER", $partFolder, $template_content_processed);
$template_content_processed = str_replace("DESTINATION_FOLDER", $destinationHomeFolder, $template_content_processed);
$template_content_processed = str_replace("WHAT_PART_FOLDER_LOCAL", $composer_template_path_local, $template_content_processed); // depends on the local machine
$template_content_processed = str_replace("WHAT_PART_LOCAL", $composer_template_path_local, $template_content_processed); // depends on the local machine
// CREATE PROVISOINING FILE
$myfile = fopen( $ansible_folder ."/".$prov_name, "w") or die("Unable to open file!");
fwrite($myfile, $template_content_processed);