How to Install CKAN 2.7.3 on CentOS7 with Ansible - ckan/ckan GitHub Wiki

Ansible scripts for automatic deployment of CKAN (together with some extensions which can be easily stripped): https://github.com/UtrechtUniversity/epos-msl (or https://github.com/UtrechtUniversity/ilab-catalog)

Requirements

Control machine requirements

Managed node requirements

Deploying development instance

Configure the virtual machine for development:

vagrant up

On a Windows host first SSH into the Ansible controller virtual machine (skip this step on GNU/Linux or macOS):

vagrant ssh epos-msl-controller
cd ~/epos-msl

Deploy to development virtual machine:

ansible-playbook playbook.yml

Add following host to /etc/hosts (GNU/Linux or macOS) or %SystemRoot%\System32\drivers\etc\hosts (Windows):

192.168.60.10 epos-msl.ckan.test

Upgrading instance

Upgrading the development instance to the latest version can be done by running the Ansible playbooks again.

On a Windows host first SSH into the Ansible controller virtual machine (skip this step on GNU/Linux or macOS):

vagrant ssh controller
cd ~/epos-msl

Upgrade Ansible scripts:

git pull

Upgrade instance:

ansible-playbook playbook.yml

Author

Lazlo Westerhof