Traceback (most recent call last):

 "/usr/local/share/python/ansible-playbook", line 268, in <module>
sys.exit(main(sys.argv[1:]))

 "/usr/local/share/python/ansible-playbook", line 208, in main
pb.run()

 "/usr/local/lib/python2.7/site-packages/ansible/playbook/__init__.py", line 228, in run
play = Play(self, play_ds, play_basedir)

 "/usr/local/lib/python2.7/site-packages/ansible/playbook/play.py", line 80, in __init__
ds = self._load_roles(self.roles, ds)

 "/usr/local/lib/python2.7/site-packages/ansible/playbook/play.py", line 288, in _load_roles
roles = self._build_role_dependencies(roles, [], self.vars)

 "/usr/local/lib/python2.7/site-packages/ansible/playbook/play.py", line 178, in _build_role_dependencies
defaults_data = utils.parse_yaml_from_file(defaults)

 "/usr/local/lib/python2.7/site-packages/ansible/utils/__init__.py", line 419, in parse_yaml_from_file
process_yaml_error(exc, data, path)

 "/usr/local/lib/python2.7/site-packages/ansible/utils/__init__.py", line 397, in process_yaml_error
msg = process_common_errors(msg, probline, mark.column)

 "/usr/local/lib/python2.7/site-packages/ansible/utils/__init__.py", line 358, in process_common_errors
elif len(probline) and probline[column] == ":" and probline.find("=") != -1:IndexError: string index out of range
Traceback (most recent call last):


 "C:\Program 
s\Python36\lib\threading.py", line 916, in _bootstrap_inner

self.run()


 "C:\Program 
s\Python36\lib\threading.py", line 864, in run

self._target(*self._args, **self._kwargs)


 "E:\py12306-master\py12306\config.py", line 137, in refresh_configs

remote_configs = self.get_remote_config()


 "E:\py12306-master\py12306\config.py", line 145, in get_remote_config

return Cluster().session.get_pickle(Cluster().KEY_CONFIGS, {})


 "E:\py12306-master\py12306\cluster\redis.py", line 54, in get_pickle

res = self.get(name)


 "E:\py12306-master\py12306\cluster\redis.py", line 32, in get

res = super().get(name)


 "C:\Program 
s\Python36\lib\site-packages\redis\client.py", line 1207, in get

return self.execute_command('GET', name)


 "C:\Program 
s\Python36\lib\site-packages\redis\client.py", line 760, in execute_command

connection.send_command(*args)


 "C:\Program 
s\Python36\lib\site-packages\redis\connection.py", line 619, in send_command

self.send_packed_command(self.pack_command(*args))


 "C:\Program 
s\Python36\lib\site-packages\redis\connection.py", line 594, in send_packed_command

self.connect()


 "C:\Program 
s\Python36\lib\site-packages\redis\connection.py", line 498, in connect

raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 10051 connecting to 47.102.10.24:6379. 向一个无法连接的网络尝试了一个套接字操作。.
