i can't see any value to ansible_ssh_user, if you haven't set one, you should do it. i don't think ansible_ssh_host is needed because it is already specified. then, you should set your password and the connection type:
inventory file: [testserver] 10.95.46.117 [testserver:vars] ansible_ssh_port=5555 ansible_connection=YourConnectionType (can be ssh or winrm) ansible_ssh_user=YourUserName ansible_ssh_pass=SuperSecretPassword123 then try running: ansible-playbook -i /etc/ansible/inventory /etc/ansible/roles/preconf/tasks/test_new.yml -vvvv hope that helps Le vendredi 17 juillet 2015 13:34:01 UTC+1, Юра Фролов a écrit : > > I first time configurating ansible. I use ansible-playbook 1.7.2, ubuntu > 14.10 (this last version ansible in my ububntu). I am configured playbook > and task, created inventory file. > I started ansible follow command > ansible-playbook -i /etc/ansible/inventory > /etc/ansible/roles/preconf/tasks/test_new.yml -v --list-hosts --list-tasks > > contents my inventory file > > [testserver] > > 10.95.46.117 ansible_ssh_port=5555 ansible_ssh_host=10.95.46.117 > ansible_ssh_use > > and receipt error: > ERROR: Invalid ini entry: This - need more than 1 value to unpack > > In what my error? What i do wrong? > -- 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/65483768-eaa9-41b0-9343-f38521a716d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
