open_shell() returned 255
Traceback (most recent call last):


 "/usr/local/bin/ansible-connection", line 198, in run

(rc, stdout, stderr) = self.conn.exec_command(cmd)


 "/Library/Python/2.7/site-packages/ansible/plugins/connection/network_cli.py", line 251, in exec_command

return self.open_shell()


 "/Library/Python/2.7/site-packages/ansible/plugins/connection/__init__.py", line 54, in wrapped

return func(self, *args, **kwargs)


 "/Library/Python/2.7/site-packages/ansible/plugins/connection/network_cli.py", line 106, in open_shell

self.receive()


 "/Library/Python/2.7/site-packages/ansible/plugins/connection/network_cli.py", line 144, in receive

data = self._shell.recv(256)
AttributeError: 'NoneType' object has no attribute 'recv'

Traceback (most recent call last):


 "/var/mycodo-root/mycodo/mycodo_daemon.py", line 962, in output_state

return self.controller['Output'].output_state(output_id)
AttributeError: 'NoneType' object has no attribute 'output_state'
