Moin,
a simple playbook won’t work:
- name: svn checkout
subversion:
repo: 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 /tmp/checkout”, “msg”: “svn: OPTIONS of ‘http://svn-01.int.de/operation/foobar’: authorization failed: Could not authenticate to server: rejected Basic challenge (http://svn-01.int.de)”, “rc”: 1, “stderr”: “svn: OPTIONS of ‘http://svn-01.int.de/operation/foobar’: authorization failed: Could not authenticate to server: rejected Basic challenge (http://svn-01.int.de)\n”, “stderr_lines”: [“svn: OPTIONS of ‘http://svn-01.int.de/operation/foobar’: authorization failed: Could not authenticate to server: rejected Basic challenge (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 /tmp/checkout
in a shell.
What may be wrong?
Thanks for answers!