Subversion only on server

If I am storing templates and other files in subversion, does
the client need to be able to reach the svn server or can I just have
the ansible server grab files from svn server and feed them to client?

Could go either way.

If you had a pattern like so:

  • hosts: localhost
    tasks:

  • svn: …

  • hosts: webservers
    tasks:

  • synchronize: …

You could do a local checkout to the server once and then blast it out, rather than have every server connect to SVN directly.

unarchive would be another alternative if you had a tarball rather than synchronize, which is a wrapper around rsync.

Could go either way.

If you had a pattern like so:

- hosts: localhost
  tasks:
     - svn: ...

- hosts: webservers
  tasks:
     - synchronize: ...

You could do a local checkout to the server once and then blast it out,
rather than have every server connect to SVN directly.

       I would prefer doing that; it would be much more efficient than
connecting every client to SVN. When I first read
http://docs.ansible.com/subversion_module.html I thought you could
only use subversion by installing it on the client.

unarchive would be another alternative if you had a tarball rather than
synchronize, which is a wrapper around rsync.

      I will need to check that; may not be what I want to use here
but it is worth checking for a future task.