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 }}
Vault password:
PLAY [remoteserver] *****************************************************************************************************************************************
TASK [Gathering Facts] **************************************************************************************************************************************
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