Skip to content
Ansible scripts for automatic staging and deployment of ODM components
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Ansible playboks for automatic staging and deployment


A bash wrapper script calling ansible playbooks that allows OpenDevelopmentMekong developers to update the code base of the following modules and environments:


  • ckan: Script updates all ckanext plugins maintained by ODM to their latest code and restarts the ckan instance
  • wp: Script goes through all WP plugins and themes being maintained by ODM as submodules pulling their latest code.


  • dev
  • prod


Developers need to install Ansible ( on their machines to be able to run these scripts.



For using this scripts developers MUST coordinate with system administrator and place their public key on the authorized-keys file for both Pre-production and Production server instances.


Configure the code repositories and branches to be deployed on group_vars folder


Once this is done, scripts can be executed as follows:

./ [wp|ckan] [dev|production]

Alternativelly, the ansible playbooks found on ansible/ can be executed independently using:

ansible-playbook ansible/<PLAYBOOK_FILE>.yml -i ansible/stage -u root

Copyright and License

This material is copyright (c) 2014-2015 East-West Management Institute, Inc. (EWMI).

It is open and licensed under the GNU General Public License (GPL) v3.0 whose full text may be found at:

You can’t perform that action at this time.