This appears to be a mistake in the documentation, as the export option was
actually added in the devel (1.6) branch. I will get that corrected now,
thanks for catching it!


On Mon, Apr 7, 2014 at 12:55 PM, Slim Slam <[email protected]> wrote:

> Using Ansible v1.5.4, I'm trying to do a simple export of a file from SVN:
>
> - subversion: repo=svn+ssh://
> [email protected]/sites/svn/admin/stuff.tar.gz  dest=/var/stuff
>  export=True
>
> The error I'm getting is:
>
> failed: [MYVMNAME] => {"failed": true, "item": ""}
> msg: unsupported parameter for module: export
>
> That seems to suggest that the "export" parameter of the subversion module
> is not supported but
> it says in the docs that it is supported at v1.5 and I'm running v1.5.4
>
> I created the VM using Vagrant, and I'm connecting to the VM as the user
> "vagrant" with sudo rights and
> public key auth:
>
> ansible-playbook -vvvvi myInventory.txt playbook.yml
>
> Everything in the playbook.yml works fine except for the SVN export above.
>
> In my ansible.cfg, I have:
>
> [ssh_connection]
> ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes
>
> Here's the output of the SVN connection:
>
> TASK: [subversion repo=svn+ssh://
> [email protected]/sites/svn/admin/stuff.tar.gz dest=/var/stuff
> export=True] ***
> <127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
> <127.0.0.1> REMOTE_MODULE subversion repo=svn+ssh:********@
> svn.mysite.com/sites/svn/admin/stuff.tar.gz dest=/var/stuff export=True
> <127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto',
> '-o', 'ControlPersist=60s', '-o', 'ForwardAgent=yes', '-o',
> 'ControlPath=/Users/someuser/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
> 'Port=2222', '-o', 'KbdInteractiveAuthentication=no', '-o',
> 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
> '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o',
> 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p
> $HOME/.ansible/tmp/ansible-tmp-1396892296.44-152400333196838 && chmod a+rx
> $HOME/.ansible/tmp/ansible-tmp-1396892296.44-152400333196838 && echo
> $HOME/.ansible/tmp/ansible-tmp-1396892296.44-152400333196838'"]
> <127.0.0.1> PUT /var/folders/lg/c_x9gpnj3kx6ssg58nkdd2m0000nfk/T/tmp_UeYO6
> TO
> /home/vagrant/.ansible/tmp/ansible-tmp-1396892296.44-152400333196838/subversion
> <127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto',
> '-o', 'ControlPersist=60s', '-o', 'ForwardAgent=yes', '-o',
> 'ControlPath=/Users/someuser/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
> 'Port=2222', '-o', 'KbdInteractiveAuthentication=no', '-o',
> 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
> '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o',
> 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p
> "[sudo via ansible, key=yzwcaybhstelqkvgejdohcxgccbuhfai] password: " -u
> root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yzwcaybhstelqkvgejdohcxgccbuhfai;
> /usr/bin/python
> /home/vagrant/.ansible/tmp/ansible-tmp-1396892296.44-152400333196838/subversion;
> rm -rf
> /home/vagrant/.ansible/tmp/ansible-tmp-1396892296.44-152400333196838/
> >/dev/null 2>&1\'"\'"\'\'']
> failed: [MYVMNAME] => {"failed": true, "item": ""}
> msg: unsupported parameter for module: export
>
>
> Anybody have any ideas about this?
>
> -J
>
>  --
> 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/eb4d3e23-1a6b-4f6c-a3c5-ab73ca4c295f%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/eb4d3e23-1a6b-4f6c-a3c5-ab73ca4c295f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAFg%2Bn8RMHi29%3DgVWU09KfatZTfFHy%2B3TqVfmMfYpz1SVLwt41A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to