removed syslog.openlog

This commit is contained in:
Mark Hamilton 2015-07-14 02:10:57 -07:00 committed by Matt Clay
parent 67de0aba08
commit dccee8bcd4

View file

@ -23,7 +23,6 @@
# along with this software. If not, see <http://www.gnu.org/licenses/>.
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()