Skip to content

Ansible

Tomas Cohen Arazi requested to merge tomascohen:ansible into master

Hi, i'd like to present this refactoring of the provisioning scripts. The things i'd like to highlight about it:

  • We can now choose the desired linux distribution (wheezy, trusty and jessie supported). The playbook adjusts to match the needed configuration on each case.
  • This rewrite is intended to be coupled with the new plack-on-packages integration. So lots of things are cleaned (plack related) and the users can now test the plack integration with a couple commands: $ sudo koha-plack --enable kohadev ; sudo koha-plack --start kohadev
  • I tried to get rid of hardcoded stuff, so most of the things are on vars/default.yml and can be changed as needed.

TODO:

  • Add a SKIP_WEBINSTALLER env variable, and a playbook+role for easier deploying of the default database (WIP).
  • We should definitely tweak koha-gitify to substitute koha-* commands from the packages with symbolic links to the ones provided by the kohaclone.

Merge request reports