Hi All,

I am trying to export subversion repo using ansible-playbook.

---
- hosts: remoteserver
  tasks:
  - name: "checkout subversion repo "
    subversion:
     repo=<url>
     dest=/abc/xyz/subdir
     force=yes
     export=yes
     username={{ subversion_username }}
     password={{ subversion_password }}


ran the playbook
ansible-playbook subversion.yml --ask-vault-pass


Error message:

Vault password:

PLAY [remoteserver] 
*****************************************************************************************************************************************

TASK [Gathering Facts] 
**************************************************************************************************************************************
ok: [abc.com]

TASK [checkout subversion repo] 
*****************************************************************************************************************************
fatal: [abc.com]: FAILED! => {"changed": false, "cmd": "/usr/bin/svn 
--non-interactive --trust-server-cert --no-auth-cache --username '' 
--password '********' export --force -r HEAD <repo_url> /abc/xyz/subdir", 
"msg": "svn: E175002: Unable to connect to a repository at URL 
'<repo_url>'\nsvn: E175002: OPTIONS of '<repo_url>': Server certificate 
verification failed: certificate issued for a different hostname, issuer is 
not trusted (<repo_url>)", "rc": 1, "stderr": "svn: E175002: Unable to 
connect to a repository at URL '<repo_url>'\nsvn: E175002: OPTIONS of 
'<repo_url>': Server certificate verification failed: certificate issued 
for a different hostname, issuer is not trusted (<repo_url>)\n", 
"stderr_lines": ["svn: E175002: Unable to connect to a repository at URL 
'<repo_url>'", "svn: E175002: OPTIONS of '<repo_url>': Server certificate 
verification failed: certificate issued for a different hostname, issuer is 
not trusted (<repo_url>)"], "stdout": "", "stdout_lines": []}

PLAY RECAP 
**************************************************************************************************************************************************
abc.com     : ok=1    changed=0    unreachable=0    failed=1



-- 
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/ae8d742c-459f-48d6-9a64-38b8a2891c0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to