base controller URL fix
This commit is contained in:
@@ -8,6 +8,9 @@ PATH_MACHINE_LOCAL = '/home/chiefsoft/MermsProvision/ANSIBLE/parts/'
|
||||
# THIS IS WHERE TO COPY GENERATED FILES
|
||||
REMOTE_COMPOSER_PATH = 'chiefsoft@10.10.10.13:/home/chiefsoft/MermsProvision/ANSIBLE/parts/
|
||||
DESTINATION_HOME_FOLDER = '/home/chiefsoft/SITES/'
|
||||
|
||||
ANSIBLE_AUTOMATION_SERVER_LOCATION="http://172.16.4.90:3000"
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Example Environment Configuration file
|
||||
#
|
||||
|
||||
@@ -106,7 +106,8 @@ abstract class BaseController extends Controller
|
||||
public function ansibleLogin():string {
|
||||
|
||||
$result = "Unhandled exception";
|
||||
$base_url = "http://172.16.4.90:3000";
|
||||
$base_url = $_ENV['ANSIBLE_AUTOMATION_SERVER_LOCATION'];
|
||||
// $base_url = "http://172.16.4.90:3000";
|
||||
$cookies = tempnam('/tmp','cookie.txt');
|
||||
|
||||
# 1. Login
|
||||
|
||||
Reference in New Issue
Block a user