mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-03-09 23:38:54 +00:00
Move commands and paths to config file
This commit is contained in:
parent
7a503bcf95
commit
fc7aafa5f6
3 changed files with 94 additions and 64 deletions
|
@ -7,10 +7,21 @@ exports = module.exports = {
|
|||
'scriptEngine' : {
|
||||
'host' : process.env.SCRIPT_ENGINE_HOST || 'localhost',
|
||||
'user' : process.env.SCRIPT_ENGINE_USER || 'root',
|
||||
// This is the default root password for local container set during docker container rebuild
|
||||
'password' : process.env.SCRIPT_ENGINE_PASSWORD || 'P@ssw0rd@123'
|
||||
},
|
||||
|
||||
paths: {
|
||||
ansible_projects: '/opt/ansible-projects'
|
||||
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
|
||||
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue