1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-02-13 19:21:54 +00:00
ansible-playable/server/config/environment/shared.js

28 lines
1 KiB
JavaScript
Raw Normal View History

2017-06-07 17:36:44 +00:00
'use strict';
exports = module.exports = {
version: 'Alpha',
2017-06-07 17:36:44 +00:00
// List of user roles
userRoles: ['guest', 'user', 'admin'],
'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
'password' : process.env.SCRIPT_ENGINE_PASSWORD || 'P@ssw0rd@123'
},
paths: {
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-06-07 17:36:44 +00:00
}
};