Name: ansible-playbook-gridftp
Owner: EMBL-EBI Technology & Science Integration
Description: Playbook to deploy gridftp servers and clients along with real or simpleca certificates
Created: 2016-05-10 08:45:55.0
Updated: 2016-06-14 14:29:53.0
Pushed: 2017-04-12 12:51:14.0
Homepage: null
Size: 13
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This playbook can be divided in three steps, each configuring server and client independently.
Assuming your variables are correctly configured (see below), this playbook will leave the server completely configured and the only steps needed on the client are to install a user certificate or proxy certificate and start the actual transfer.
Variables in ansible can be tweaked in multiple ways. My recommended method is to use files in group_vars
and host_vars
. Each roles will take default values from its defaults/main.yml
file for variables not defined in the playbook. Variables that need definition to create a working GridFTP server are (see examples in group_vars
directory):
gridftp_ca_cert_repos
: points to a repository of CA certifictes and package to install, ie EGI's ca-policy-egi-core
.gridftp_ca_local_certs
: custom certificate not in a repository.gridftp_host_cert
: hostcert for the server. This should be generated by your local CA.gridftp_host_key
: hostkey for the server. It should be kept private, ie in the vault.gridftp_mappings
: mappings to go in /etc/grid-security/grid-mapfile
.You should have Vagrant and VirtualBox installed before starting.
ansible-galaxy install -r requirements.yml
vagrant up