2017-06-07 17:36:44 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
exports = module.exports = {
|
2017-07-08 22:19:47 +00:00
|
|
|
version: 'Alpha',
|
2017-06-07 17:36:44 +00:00
|
|
|
// List of user roles
|
|
|
|
userRoles: ['guest', 'user', 'admin'],
|
2017-07-13 19:04:38 +00:00
|
|
|
'scriptEngine': {
|
|
|
|
'host': process.env.SCRIPT_ENGINE_HOST || 'localhost',
|
|
|
|
'user': process.env.SCRIPT_ENGINE_USER || 'root',
|
2017-07-08 23:41:53 +00:00
|
|
|
// This is the default root password for local container set during docker container rebuild
|
2017-07-13 19:04:38 +00:00
|
|
|
'password': process.env.SCRIPT_ENGINE_PASSWORD || 'P@ssw0rd@123'
|
2017-07-08 18:32:27 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
paths: {
|
2017-07-09 00:32:46 +00:00
|
|
|
local_server_logfile: './logs/server.log',
|
|
|
|
local_express_server_logfile: './logs/server-api.log',
|
2017-07-08 23:41:53 +00:00
|
|
|
ansible_projects: '/opt/ansible-projects',
|
|
|
|
ansible_projects_arhive: '/archive', // relative to projects folder
|
|
|
|
ansible_custom_api_local: './helpers/AnsibleAPI.py',
|
|
|
|
ansible_custom_api_remote: '/tmp/AnsibleAPI.py',
|
|
|
|
ansible_dir_tree_local: './helpers/dir_tree.py',
|
|
|
|
ansible_dir_tree_remote: '/tmp/dir_tree.py',
|
|
|
|
ansible_list_tasks_json_local: './helpers/list_tasks_json.py',
|
|
|
|
ansible_list_tasks_json_remote: '/tmp/list_tasks_json.py',
|
|
|
|
ansible_project_library: '/library', // relative to project folder
|
|
|
|
ansible_project_roles: '/roles', // relative to project folder
|
|
|
|
|
2017-07-11 17:11:17 +00:00
|
|
|
},
|
|
|
|
|
2017-07-13 15:47:20 +00:00
|
|
|
disablePlayboookExecution: process.env.DISABLE_PLAYBOOK_EXECUTION || false,
|
2017-07-13 19:04:38 +00:00
|
|
|
// Disable adding a separate ansible host than localhost
|
|
|
|
disableAnsibleHostAddition: process.env.DISABLE_ANSIBLE_HOST_ADDITION || false,
|
2017-07-13 15:47:20 +00:00
|
|
|
|
2017-07-13 19:04:38 +00:00
|
|
|
videos
|
|
|
|
:
|
|
|
|
[
|
|
|
|
{
|
|
|
|
title: 'Overview',
|
|
|
|
type: 'overview',
|
2017-07-21 13:45:44 +00:00
|
|
|
video_id: 'elO8vR5G6n4'
|
2017-07-13 19:04:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Getting Started',
|
2017-07-14 16:55:24 +00:00
|
|
|
type: 'getting_started',
|
|
|
|
video_id: 'ze5BWEQ1RJw'
|
2017-07-13 19:04:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Google Cloud Example',
|
2017-07-15 02:17:41 +00:00
|
|
|
type: 'google_cloud',
|
|
|
|
video_id: 'QQuA0EHIijo'
|
|
|
|
}/*,
|
2017-07-13 19:04:38 +00:00
|
|
|
{
|
|
|
|
title: 'VMWare Example',
|
|
|
|
type: 'vmware'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Custom Modules',
|
|
|
|
type: 'custom_module'
|
2017-07-15 02:17:41 +00:00
|
|
|
}*/
|
2017-07-13 19:04:38 +00:00
|
|
|
]
|
2017-07-11 17:11:17 +00:00
|
|
|
|
2017-07-13 19:04:38 +00:00
|
|
|
}
|
|
|
|
;
|