mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-03-09 23:38:54 +00:00
Implement disabling playbook execution based on environment variable
This commit is contained in:
parent
04a29ed2fe
commit
babc1c5e6c
5 changed files with 32 additions and 10 deletions
|
@ -25,5 +25,8 @@ exports = module.exports = {
|
|||
ansible_project_library: '/library', // relative to project folder
|
||||
ansible_project_roles: '/roles', // relative to project folder
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
disablePlayboookExecution: process.env.DISABLE_PLAYBOOK_EXECUTION || false
|
||||
|
||||
};
|
||||
|
|
|
@ -16,5 +16,13 @@ module.exports = {
|
|||
GOOGLE_SECRET: 'secret',
|
||||
|
||||
// Control debug level for modules using visionmedia/debug
|
||||
DEBUG: ''
|
||||
DEBUG: '',
|
||||
|
||||
SCRIPT_ENGINE_HOST : 'localhost',
|
||||
SCRIPT_ENGINE_USER : 'root',
|
||||
SCRIPT_ENGINE_PASSWORD : 'P@ssw0rd@123',
|
||||
|
||||
MONGODB_URI_DEV: 'mongodb://localhost/dev',
|
||||
|
||||
DISABLE_PLAYBOOK_EXECUTION: true
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue