Ansible playbook for the deployment of the CD² metadata catalogue.
- Vagrant (installation instructions here)
- Ansible (installation instructions here)
- community.postgresql Ansible Galaxy repository (install by running
ansible-galaxy collection install community.postgresql
)
- Ubuntu 20.04 LTS
- Navigate to the cd2-ansible directory
- Run
vagrant up
- Add the following line to your hostfile (e.g.
/etc/hosts
on Unix-based systems):192.168.60.30 cd2.ckan.test
- If you are on a Windows system, log in on the controller VM (
vagrant ssh cd2-controller
) and go to the repository directory (cd cd2-ansible
). This step is not applicable to Linux and macOS systems. - Install the application using Ansible:
ansible-playbook -DK -i environments/development playbook.yml
- Press enter when Ansible asks for a password.
- You can now access the CKAN environment at https://cd2.ckan.test/user/login. The credentials for the default administrative user are: username
ckanadmin
and passwordtesttest
. - To log into the virtual machine using SSH, run
vagrant ssh
(on Linux or macOS) orvagrant ssh cd2
(on Windows)