This repo contains an Ansible role to deploy a delivery service consinsting
of a WebDAV server (Apache2 enabled) and an FTPES server (Proftpd enabled).
Both servers use the same data path and users can retrieve data indifferently
from the WebDAV or FTPES server.
All the communications are encrypted using SSL enabled data channel.
This role requires Ansible 2.0+. See Ansible installation
In vars/main.yml, you will find all the variables that the role is using.
Configure them accordingly to your setup.
Digit:
ansible-playbook -i inventory setup_server.yml
to setup the servers on your remote host defined into the inventory file
Digit:
ansible-playbook -i inventory create_user.yml
to create a user with a random username and a random generated password.
This user can be used to log in into the WebDAV and the FTPES servers.
We are using Apaxy theme to enhance the experience of browsing the WebDAV server directories.
These web pages has been very useful to configure correctly the servers:
https://hexeract.wordpress.com/2011/02/25/configure-a-webdav-enabled-webserver-for-multiple-user-folders-and-one-shared-folder/
http://icephoenix.us/linuxunix/apache-and-http-authentication-with-pam/