ansible ping

がなんか通らない

[code lang=text] astelinfo | FAILED >> { "failed": true, "msg": " File "/home/astel/.ansible/tmp/ansible-tmp-1456826449.49-238650075542256/ping", line 570\r\n except OSError, e:\r\n ^\r\nSyntaxError: invalid syntax\r\nOpenSSH_7.1p1-hpn14v9, OpenSSL 1.0.2e 3 Dec 2015\r\ndebug1: Reading configuration data /home/astel/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: mux_client_request_session: master session id: 2\r\nShared connection to astel.info closed.\r\n", "parsed": false } [/code]

pythonのバージョンが違う

[code lang=text] $ eselect python list Available Python interpreters: [1] python2.7∂ [2] python3.3 * $ eselect python set 1

$ EPYTHON=python2 python --version Python 2.7.5 [/code]