This Ansible playbook installs open source Canvas LMS on a server running Ubuntu 22.04 LTS 64bit.
Minimal hardware requirements:
RAM: 8GB or more
CPU: 2000MHz dual core or better
Disk space: 20GB or more according to your project requirements
To run the script:
-
Clone repository
$ git clone https://github.com/EugeneWHZ/canvaslms-ansible-installation.git -
Create and adjust inventory file.
$ cp production.example production
$ vim production -
Create a variables file.
$ cp roles/common/vars/main.yml.example roles/common/vars/main.yml
$ vim roles/common/vars/main.yml -
Install all Canvas components at once or install web/db/redis components by choice.
To install all at once run:
$ ansible-playbook -i production master.yml
To install only webserver component run:
$ ansible-playbook -i production webservers.yml
To install only redis-server run command:
$ ansible-playbook -i production redis.yml