WHAT_PART_LOCAL
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Set up docker-compose file
|
- name: Set up docker-compose file
|
||||||
template:
|
template:
|
||||||
src: "WHAT_PART_FOLDER_LOCAL/docker-compose.yml"
|
src: "WHAT_PART_LOCAL/docker-compose.yml"
|
||||||
dest: "DESTINATION_FOLDER"
|
dest: "DESTINATION_FOLDER"
|
||||||
|
|
||||||
- name: docker compose up
|
- name: docker compose up
|
||||||
|
|||||||
@@ -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_HOST_IN_USE", $productId."_SERVER", $template_content);
|
||||||
$template_content_processed = str_replace("WHAT_PART_FOLDER", $partFolder, $template_content_processed);
|
$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("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
|
// CREATE PROVISOINING FILE
|
||||||
$myfile = fopen( $ansible_folder ."/".$prov_name, "w") or die("Unable to open file!");
|
$myfile = fopen( $ansible_folder ."/".$prov_name, "w") or die("Unable to open file!");
|
||||||
fwrite($myfile, $template_content_processed);
|
fwrite($myfile, $template_content_processed);
|
||||||
|
|||||||
Reference in New Issue
Block a user