# Using subversion via http?

**URL:** <https://forum.ansible.com/t/using-subversion-via-http/27275>\
**Category:** Ansible Project\
**Created:** [April 13, 2018, 3:26pm UTC](https://forum.ansible.com/t/using-subversion-via-http/27275 "2018-04-13T15:26:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Renner](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Michael\_Renner](https://forum.ansible.com/u/Michael_Renner)\
**Post date:** [April 13, 2018, 3:26pm UTC](https://forum.ansible.com/t/using-subversion-via-http/27275/1 "2018-04-13T15:26:05Z")

</div>

Moin,

a simple playbook won’t work:

- name: svn checkout  
subversion:  
repo: [http://svn-01.int.de/operation/foobar](http://svn-01.int.de/operation/foobar)  
dest: /tmp/checkout  
delegate\_to: localhost

but it fail:  
TASK [svn checkout] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [server.local → localhost]: FAILED! =\> {“changed”: false, “cmd”: “/usr/local/bin/svn --non-interactive --trust-server-cert --no-auth-cache checkout -r HEAD [http://svn-01.int.de/operation/foobar](http://svn-01.int.de/operation/foobar) /tmp/checkout”, “msg”: “svn: OPTIONS of ‘[http://svn-01.int.de/operation/foobar](http://svn-01.int.de/operation/foobar)’: authorization failed: Could not authenticate to server: rejected Basic challenge ([http://svn-01.int.de](http://svn-01.int.de))”, “rc”: 1, “stderr”: “svn: OPTIONS of ‘[http://svn-01.int.de/operation/foobar](http://svn-01.int.de/operation/foobar)’: authorization failed: Could not authenticate to server: rejected Basic challenge ([http://svn-01.int.de](http://svn-01.int.de))\n”, “stderr\_lines”: [“svn: OPTIONS of ‘[http://svn-01.int.de/operation/foobar](http://svn-01.int.de/operation/foobar)’: authorization failed: Could not authenticate to server: rejected Basic challenge ([http://svn-01.int.de](http://svn-01.int.de))”], “stdout”: “”, “stdout\_lines”: }

There is no password protection, it’s also possible to check out the repository by  
/usr/local/bin/svn --non-interactive --trust-server-cert --no-auth-cache checkout -r HEAD [http://svn-01.int.de/operation/foobar](http://svn-01.int.de/operation/foobar) /tmp/checkout  
in a shell.

What may be wrong?

Thanks for answers!

---

<div class="post-metadata">

**Author:** ![Michael\_Renner](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Michael\_Renner](https://forum.ansible.com/u/Michael_Renner)\
**Post date:** [April 16, 2018, 12:29pm UTC](https://forum.ansible.com/t/using-subversion-via-http/27275/2 "2018-04-16T12:29:36Z")

</div>

Just for the archive: “become: no” was my friend.
