Install moodle
db_host: "127.0.0.1"
db_pwd_root: "mysql-root-pass"
db_name: 'moodle'
db_username: 'moodleAdmin'
db_password: 'moodle-db-pass'
moodle_domain: "your-moodle.edu"
moodle_path: "/opt/moodle"
moodle_src: "{{ moodle_path }}/src"
moodle_docs: "{{ moodle_path }}/moodleDocs"
moodle_version: "MOODLE_30_STABLE"
moodle_user: "moodle"
Roles dependecies:
- debops.pki
- debops.mysql
- debops.php5
- debops.nginx
Variables to setup:
- mysql
- php5
- nginx
- hosts: mymoodle
roles:
- { role: nadavkav.moodle, moodle_version: "MOODLE_30_STABLE" }
GPL-3
Original code by krahser (krahser.moodle)