The is an Ansible playbook for Islandora CLAW. It also has a vagrant file to bring up a development environment virtual machine for Islandora CLAW.
This virtual machine should not be used in production yet.
- VirtualBox
- Vagrant 1.8.5+
- git
- ansible 2.3+
- virtualbox-vbguest plugin (If targeting CENTOS)
By default the virtual machine that is built uses 3GB of RAM. Your host machine will need to be able to support the additional memory use. You can override the CPU and RAM allocation by creating ISLANDORA_VAGRANT_CPUS
and ISLANDORA_VAGRANT_MEMORY
environment variables and setting the values. For example, on an Ubuntu host you could add to ~/.bashrc
:
export ISLANDORA_VAGRANT_CPUS=4
export ISLANDORA_VAGRANT_MEMORY=4096
Ubuntu 16.04 is the default linux distribution used by claw-playbook. If you want to use CENTOS 7 instead, set the ISLANDORA_DISTRO
environment variable to centos/7
. The easiest way to do this is to export the environment variable into your shell before running Vagrant commands. Otherwise you will have to provide the variable for every Vagrant command you issue.
ISLANDORA_DISTRO="centos/7" vagrant up
ISLANDORA_DISTRO="centos/7" vagrant ssh
If you are not using vagrant up
to bring up a box, and are running ansible-playbook
against it manually, you will need to set ansible_ssh_user
to vagrant
for your hosts. It's easiest to add this value to inventory/vagrant/group_vars/all.yml
to set the value for all hosts. This is not neccessary if using Vagrant, as the ssh user is passed to ansible via the Vagrantfile.
- clone the repo
vagrant up
You can connect to the machine via the browser at http://localhost:8000.
The default Drupal login details are:
- username: admin
- password: islandora
- username: root
- password: islandora
The Fedora 4 REST API can be accessed at http://localhost:8080/fcrepo/rest.
Authentication is done via Syn using JWT tokens.
- username: islandora
- password: islandora
You can connect to the machine via ssh:
vagrant ssh
ssh -p 2222 ubuntu@localhost
The default VM login details are:
- username: ubuntu
- password: ubuntu
- Get feature parity with CLAW Vagrant
- Break each role out into its own git repo, so they can be listed on galaxy
- Test install on multiple boxes
- Test with other operating systems (?)