Trying to switch from Ansible 1.94 to Ansible 2.X (whatever the current 
latest is.. just did a git clone)

A playbook that works in 1,94 give me the error below.

fatal: [lunap2.nsinf.net]: FAILED! => {"changed": false, "failed": true, 
"invocation": {"module_name": "setup"}, "module_stderr": "OpenSSH_6.6.1, 
OpenSSL 1.0.1f 6 Jan 2014\r\ndebug1: Reading configuration data 
/home/francisco/.ssh/config\r\ndebug1: /home/francisco/.ssh/config line 
167: Applying options for lunap2.nsinf.net\r\ndebug1: Reading configuration 
data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying 
options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 
setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 
4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 
remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: 
mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: 
done pid = 14749\r\ndebug3: mux_client_request_session: session request 
sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: 
mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received 
exit status from master 0\r\nShared connection to lunap2.nsinf.net 
closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n 
 File \"/tmp/ansible_qm7eFt/ansible_module_setup.py\", line 127, in 
<module>\r\n    main()\r\n  File 
\"/tmp/ansible_qm7eFt/ansible_module_setup.py\", line 119, in main\r\n   
 data = get_all_facts(module)\r\n  File 
\"/tmp/ansible_qm7eFt/ansible_modlib.zip/ansible/module_utils/facts.py\", 
line 3240, in get_all_facts\r\n  File 
\"/tmp/ansible_qm7eFt/ansible_modlib.zip/ansible/module_utils/facts.py\", 
line 3184, in ansible_facts\r\n  File 
\"/tmp/ansible_qm7eFt/ansible_modlib.zip/ansible/module_utils/facts.py\", 
line 189, in __init__\r\n  File 
\"/tmp/ansible_qm7eFt/ansible_modlib.zip/ansible/module_utils/facts.py\", 
line 357, in get_service_mgr_facts\r\nKeyError: 'distribution'\r\n", "msg": 
"MODULE FAILURE", "parsed": false}


Running Ansible from an Ubuntu machine and the target machine is a FreeBSD 
machine.

Any suggestions / ideas? This is my third attempt to move from 1.X to 2.X 
and every time have run into issues.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/18a1d764-fede-4b93-8105-23134fba0399%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to