Make no_target_syslog consistent.

no_target_syslog = False --> do log on target
This commit is contained in:
Luca Berruti 2015-12-05 19:43:02 +01:00
parent fa71c38c2a
commit 8ea45e8608
4 changed files with 4 additions and 4 deletions

View file

@ -48,7 +48,7 @@ class ActionModule(ActionBase):
env_string = self._compute_environment_string()
module_args = self._task.args.copy()
if self._play_context.no_log or not C.DEFAULT_NO_TARGET_SYSLOG:
if self._play_context.no_log or C.DEFAULT_NO_TARGET_SYSLOG:
module_args['_ansible_no_log'] = True
# configure, upload, and chmod the target module