Hi ,

help is appreciated

playbook:mount.yml

- hosts: localhost
  gather_facts: false
  vars_files:
    - /etc/ansible/group_vars/host_vars
  tasks:
    - name: create a mapped drive under Z
      win_mapped_drive:
        letter: Z
        path: \\10.237.163.116\test
        username: test
        password: Password123

host_vars:
windows machine details:

ip: "10.234.224.199"
username: "Administrator"
password: "netapp"
ansible_connection: "winrm"
ansible_winrm_server_cert_validation: "ignore"

i am getting below error when run the playbook:
fatal: [localhost]: UNREACHABLE! => {"changed": false, "msg": "ssl: auth 
method ssl requires a username", "unreachable": true}




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f513a44c-255b-4a34-bcce-ebe93efccdfb%40googlegroups.com.

Reply via email to