From dccee8bcd46064af7a43cfc6b9060496cb62d547 Mon Sep 17 00:00:00 2001 From: Mark Hamilton Date: Tue, 14 Jul 2015 02:10:57 -0700 Subject: [PATCH] removed syslog.openlog --- lib/ansible/modules/extras/network/openvswitch_port.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/ansible/modules/extras/network/openvswitch_port.py b/lib/ansible/modules/extras/network/openvswitch_port.py index 3f9c22fe432..469d53730da 100644 --- a/lib/ansible/modules/extras/network/openvswitch_port.py +++ b/lib/ansible/modules/extras/network/openvswitch_port.py @@ -23,7 +23,6 @@ # along with this software. If not, see . import syslog -import os DOCUMENTATION = ''' --- @@ -243,14 +242,10 @@ def main(): 'timeout': {'default': 5, 'type': 'int'}, 'set': {'required': False, 'default': None}, 'external_ids': {'default': {}, 'required': False}, - 'syslogging': {'required': False, 'type': "bool", 'default': True} }, supports_check_mode=True, ) - if (module.params["syslogging"]): - syslog.openlog('ansible-%s' % os.path.basename(__file__)) - port = OVSPort(module) if module.check_mode: port.check()