mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-03-09 23:38:54 +00:00
Add option to disable adding custom ansible host engine
This commit is contained in:
parent
2fc2040882
commit
f06bd10330
9 changed files with 95 additions and 54 deletions
|
@ -7,9 +7,14 @@ export function systemService($http) {
|
|||
|
||||
const api_system = '/api/system';
|
||||
const api_get_logs = api_system + '/logs';
|
||||
const get_config_disable_ansible_host_addition = api_system + '/config/disable_ansible_host_addition';
|
||||
|
||||
this.getLogs = function(type, successCallback, errorCallback){
|
||||
$http.get(api_get_logs + '/' + type).then(successCallback, errorCallback);
|
||||
};
|
||||
|
||||
this.getConfigDisableAnsibleHostAddition = function(successCallback, errorCallback){
|
||||
$http.get(get_config_disable_ansible_host_addition).then(successCallback, errorCallback);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue