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
bb6141ec
Commit
bb6141ec
authored
Sep 26, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed managed_syslog to no_target_syslog
parent
37a91843
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
examples/ansible.cfg
+1
-1
lib/ansible/constants.py
+1
-1
lib/ansible/plugins/action/__init__.py
+1
-1
No files found.
examples/ansible.cfg
View file @
bb6141ec
...
@@ -182,7 +182,7 @@ fact_caching = memory
...
@@ -182,7 +182,7 @@ fact_caching = memory
#no_log = False
#no_log = False
# prevents logging of tasks, but only on the targets, data is still logged on the master/controller
# prevents logging of tasks, but only on the targets, data is still logged on the master/controller
#
managed
_syslog = True
#
no_target
_syslog = True
[privilege_escalation]
[privilege_escalation]
#become=True
#become=True
...
...
lib/ansible/constants.py
View file @
bb6141ec
...
@@ -156,7 +156,7 @@ DEFAULT_INVENTORY_IGNORE = get_config(p, DEFAULTS, 'inventory_ignore_extensions
...
@@ -156,7 +156,7 @@ DEFAULT_INVENTORY_IGNORE = get_config(p, DEFAULTS, 'inventory_ignore_extensions
# disclosure
# disclosure
DEFAULT_NO_LOG
=
get_config
(
p
,
DEFAULTS
,
'no_log'
,
'ANSIBLE_NO_LOG'
,
False
,
boolean
=
True
)
DEFAULT_NO_LOG
=
get_config
(
p
,
DEFAULTS
,
'no_log'
,
'ANSIBLE_NO_LOG'
,
False
,
boolean
=
True
)
DEFAULT_
MANAGED_SYSLOG
=
get_config
(
p
,
DEFAULTS
,
'managed_syslog'
,
'ANSIBLE_MANAGED
_SYSLOG'
,
True
,
boolean
=
True
)
DEFAULT_
NO_TARGET_SYSLOG
=
get_config
(
p
,
DEFAULTS
,
'no_target_syslog'
,
'ANSIBLE_NO_TARGET
_SYSLOG'
,
True
,
boolean
=
True
)
# selinux
# selinux
DEFAULT_SELINUX_SPECIAL_FS
=
get_config
(
p
,
'selinux'
,
'special_context_filesystems'
,
None
,
'fuse, nfs, vboxsf, ramfs'
,
islist
=
True
)
DEFAULT_SELINUX_SPECIAL_FS
=
get_config
(
p
,
'selinux'
,
'special_context_filesystems'
,
None
,
'fuse, nfs, vboxsf, ramfs'
,
islist
=
True
)
...
...
lib/ansible/plugins/action/__init__.py
View file @
bb6141ec
...
@@ -351,7 +351,7 @@ class ActionBase:
...
@@ -351,7 +351,7 @@ class ActionBase:
module_args
[
'_ansible_check_mode'
]
=
True
module_args
[
'_ansible_check_mode'
]
=
True
# set no log in the module arguments, if required
# set no log in the module arguments, if required
if
self
.
_play_context
.
no_log
or
not
C
.
DEFAULT_
MANAGED
_SYSLOG
:
if
self
.
_play_context
.
no_log
or
not
C
.
DEFAULT_
NO_TARGET
_SYSLOG
:
module_args
[
'_ansible_no_log'
]
=
True
module_args
[
'_ansible_no_log'
]
=
True
# set debug in the module arguments, if required
# set debug in the module arguments, if required
...
...
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