renamed managed_syslog to no_target_syslog

This commit is contained in:
Brian Coca 2015-09-26 08:22:32 -04:00
parent 37a918438b
commit bb6141ec41
3 changed files with 3 additions and 3 deletions

View file

@ -182,7 +182,7 @@ fact_caching = memory
#no_log = False
# 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]
#become=True

View file

@ -156,7 +156,7 @@ DEFAULT_INVENTORY_IGNORE = get_config(p, DEFAULTS, 'inventory_ignore_extensions
# disclosure
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
DEFAULT_SELINUX_SPECIAL_FS = get_config(p, 'selinux', 'special_context_filesystems', None, 'fuse, nfs, vboxsf, ramfs', islist=True)

View file

@ -351,7 +351,7 @@ class ActionBase:
module_args['_ansible_check_mode'] = True
# 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
# set debug in the module arguments, if required