вторник, 21 июля 2015 г., 16:12:48 UTC+3 пользователь Guillaume Querso написал: > > As suggested by the documentation ( > http://docs.ansible.com/ansible/intro_configuration.html#sudo-user ), i > would say the remote. just to be clear, your remote is a Linux/Unix > machine? double check your indentation in your playbook to be sure nothing > is wrong here. > can you try: ansible 10.95.46.117 -m ping > > Maybe consider to upgrade your ansible version (and your ubuntu) > What i don't understand is that you have an error related to syntax while > i can't find anything unusual.. > My machine Linux on both side (Ubuntu 14.10). c# ping 10.95.46.117 PING 10.95.46.117 (10.95.46.117) 56(84) bytes of data. 64 bytes from 10.95.46.117: icmp_seq=1 ttl=64 time=0.682 ms 64 bytes from 10.95.46.117: icmp_seq=2 ttl=64 time=0.404 ms ^C --- 10.95.46.117 ping statistics --- # ansible 10.95.46.117 -m ping ERROR: Invalid ini entry: This - need more than 1 value to unpack
I have standard repository for Ubuntu. I have latest version ansible. # ansible --version ansible 1.7.2 # apt-cache showpkg ansible Package: ansible Versions: 1.7.2+dfsg-1 Can you upload your actual inventory file somewhere for us to download and > take a look? I've just tested and one way that error can happen is if > there's trailing, non-ascii whitespace inventory file <https://sites.google.com/site/vrnunit/inventory> -- 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/3d3d5dad-6cf8-488e-a3e1-1f7b4a8163aa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
