i configured *host*

[windows]
server.domain.es


*Windows.yml*

ansible_user: domain\user
ansible_password: passw
ansible_port: 5986
ansible_connection: winrm
ansible_winrm_server_cert_validation: ignore

I've tried it too:
ansible_user: localuser (in the server)

*BUT when i run the playbook:*

   1. <server.domain.es> ESTABLISH SSH CONNECTION FOR USER: USER
   2. <server.domain.es> SSH: ansible.cfg set ssh_args: 
   (-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
   3. <server.domain.es> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking 
   disabled: (-o)(StrictHostKeyChecking=no)
   4. <server.domain.es> SSH: 
   ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=USER)
   5. <server.domain.es> SSH: ANSIBLE_TIMEOUT/timeout set: 
   (-o)(ConnectTimeout=10)
   6. <server.domain.es> SSH: PlayContext set ssh_common_args: ()
   7. <server.domain.es> SSH: PlayContext set ssh_extra_args: ()
   8. <server.domain.es> SSH: found only ControlPersist; added ControlPath: 
   (-o)(ControlPath=/tmp/ansible_tower_CMbKBj/cp/ansible-ssh-%h-%p-%r)
   9. <server.domain.es> SSH: EXEC sshpass -d19 ssh -C -vvv -o 
   ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 
   User=USER -o ConnectTimeout=10 -o 
   ControlPath=/tmp/ansible_tower_CMbKBj/cp/ansible-ssh-%h-%p-%r 
   server.domain.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo 
   $HOME/.ansible/tmp/ansible-tmp-1479111892.51-133707384640152 `" && echo 
   ansible-tmp-1479111892.51-133707384640152="` echo 
   $HOME/.ansible/tmp/ansible-tmp-1479111892.51-133707384640152 `" ) && sleep 
   0'"'"''
   10. fatal: [server.domain.es]: UNREACHABLE! => {"changed": false, "msg": 
   "Failed to connect to the host via ssh.", "unreachable": true}
   11.  [WARNING]: Could not create
   

-- 
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/49e3f871-f639-4b28-9611-eea1b8d644be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to