Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
c610783f
Commit
c610783f
authored
Sep 08, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8911 from bbasleeper/devel
Adding a new 'load_callback_plugins' config option, defaults to False
parents
b71bcb04
16108e4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
bin/ansible
+2
-0
lib/ansible/constants.py
+1
-0
No files found.
bin/ansible
View file @
c610783f
...
...
@@ -38,6 +38,8 @@ class Cli(object):
def
__init__
(
self
):
self
.
stats
=
callbacks
.
AggregateStats
()
self
.
callbacks
=
callbacks
.
CliRunnerCallbacks
()
if
C
.
DEFAULT_LOAD_CALLBACK_PLUGINS
:
callbacks
.
load_callback_plugins
()
# ----------------------------------------------
...
...
lib/ansible/constants.py
View file @
c610783f
...
...
@@ -175,6 +175,7 @@ SYSTEM_WARNINGS = get_config(p, DEFAULTS, 'system_warnings', 'ANS
DEPRECATION_WARNINGS
=
get_config
(
p
,
DEFAULTS
,
'deprecation_warnings'
,
'ANSIBLE_DEPRECATION_WARNINGS'
,
True
,
boolean
=
True
)
DEFAULT_CALLABLE_WHITELIST
=
get_config
(
p
,
DEFAULTS
,
'callable_whitelist'
,
'ANSIBLE_CALLABLE_WHITELIST'
,
[],
islist
=
True
)
COMMAND_WARNINGS
=
get_config
(
p
,
DEFAULTS
,
'command_warnings'
,
'ANSIBLE_COMMAND_WARNINGS'
,
False
,
boolean
=
True
)
DEFAULT_LOAD_CALLBACK_PLUGINS
=
get_config
(
p
,
DEFAULTS
,
'load_callback_plugins'
,
'ANSIBLE_LOAD_CALLBACK_PLUGINS'
,
False
,
boolean
=
True
)
# CONNECTION RELATED
ANSIBLE_SSH_ARGS
=
get_config
(
p
,
'ssh_connection'
,
'ssh_args'
,
'ANSIBLE_SSH_ARGS'
,
None
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment