An Ansible role for installing Koha (the FOSS LMS/ILS) on Debian Wheezy.
-
Review this role before you use it! If you don't already know how to install and support Koha, don't use it.
-
This role is NOT a community-supported method for installing Koha. If you use it, you won't be able to get support via community IRC, email, etc.
-
I am also NOT planning on actively maintaining this role. I created this role to automate the installation of Koha on a few Debian boxes during a specific time period. I might update it from time to time, and pull requests are welcome, but my purpose in posting this role is inspiration for others and a convenient archive for myself.
-
This role is designed for Debian Wheezy. It may also work for other versions of Debian and Ubuntu, but you might need to tweak it a bit more. Consult the Koha community documentation to make your updates.
-
There are probably other things to talk about, but hopefully you'll read through the role and understand what is happening so I don't have to warn you about it.
mysql_passwd_seed
: MySQL root user password (role will fail without this)
- hosts: koha-servers
gather_facts: yes
remote_user: root
sudo: true
roles:
- { role: ansible-koha, when: "ansible_os_family == 'Debian'" }
ansible-playbook koha-site.yml --extra-vars "mysql_passwd_seed=replace_with_root_password"