Hello, i am running ansible 1.9.1 on a Ubuntu server 14.04.2, my remote 
machine is a windows 7 sp1.
i have the following files and error message, i don't understand where the 
issue is.. 

/etc/ansible/group_vars/windows.yml

ansible_ssh_user: AnsibleUser
ansible_ssh_pass: ansiblepass
ansible_ssh_port: 5986
ansible_connection: winrm

/etc/ansible/winplaybook.yml

   - hosts: WIN-F6531IBP8HG tasks:
      - name: unarchive unarchive: src=/tmp/hello.txt.zip 
      dest=C:\Users\Querso\Desktop
   
/etc/ansible/hosts

WIN-F6531IBP8HG

i have python 2.7.6 and i have the following error message:
ansible-playbook /etc/ansible/winplaybook.yml -i WIN-F6531IBP8HG,

PLAY [WIN-F6531IBP8HG] 
********************************************************

GATHERING FACTS 
*************************************************************** 
fatal: [WIN-F6531IBP8HG] => SSH Error: Permission denied 
(publickey,password,keyboard-interactive).
while connecting to 192.168.79.133:22
It is sometimes useful to re-run the command using -vvvv, which prints SSH 
debug output to help diagnose the issue.

TASK: [unarchive] 
************************************************************* 
FATAL: no hosts matched or all hosts have already failed -- aborting

PLAY RECAP 
******************************************************************** 
to retry, use: --limit @/home/guillaume/winplaybook.retry

WIN-F6531IBP8HG : ok=0 changed=0 unreachable=1 failed=0

if i try to ping windows:
ansible WIN-F6531IBP8HG -m win_ping
WIN-F6531IBP8HG | FAILED => SSH Error: Permission denied 
(publickey,password,keyboard-interactive).
while connecting to 192.168.79.133:22
It is sometimes useful to re-run the command using -vvvv, which prints SSH 
debug output to help diagnose the issue.

thanks for your help!!

-- 
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/3630e85f-826e-4c9a-ba0b-0fdb4ae0307b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to