Ansible-Hydra Submodule (Obsolete)

Currently, a large portion of our ansible scripts are handled via a submodule called ansible-hydra.

This is maintained on github by Digital Curation Experts (DCE) and can be found here: https://github.com/curationexperts/ansible-hydra

Currently, Alicia Cozine (acozine) is the primary contributor and if something does not make sense she is an excellent person to ask. She can be found on the Samvera Slack (@acozine).

Ansible Hydra is deprecated in favor of ansible-samvera which we have not migrated to. We can contact DCE if needed, but Daniel Sanford has commit access to the old repo if needed.

Need to Knows:

Updating create_ec2.yml

Since create_ec2.yml is called at the ansible-inventory level, it must be copied from ansible-hydra into ansible-inventory. If changes to the create_ec2.yml file are made upstream, when updating the submodule also change the create_ec2.yml file at the ansible-inventory repo to make it match the new roles or tasks added in the submodule. For the most part, our differences are in removing roles we do not use, and adding calls to a playbook which runs customization scripts.

Updating the submodule

As a reminder, updates at ansible-inventory level will pull the submodule up to the last pinned point. If you need to update further, to test the compatibility of major changes to our scripts. Update the submodule directly.

Current issues

  • AWS build scripts are well defined, Vagrant scripts are still in progress
  • Support for Ubuntu 14.04 and 16.04 is baked in, CentOS support is there but runs into occasional issues
  • The 14.04 to 16.04 switch from init to systemd in Ubuntu has caused some service issues, most have been fixed but confirm those before 16.04 boxes are used outside of test builds
  • CHF builds make some notable divergences from ansible-hydra which are handled by additional playbooks to customize our machines. Changes to ansible-hydra may cause issues with our customizations.
  • When testing ansible-hydra, do not use ansible-inventory's build scripts due to the aforementioned customizations.