geoffreyvanwyk / ansible-role-moodle Goto Github PK
View Code? Open in Web Editor NEWDeploys, installs, and upgrades Moodle.
Home Page: https://galaxy.ansible.com/ui/standalone/roles/geoffreyvanwyk/moodle/
License: GNU General Public License v3.0
Deploys, installs, and upgrades Moodle.
Home Page: https://galaxy.ansible.com/ui/standalone/roles/geoffreyvanwyk/moodle/
License: GNU General Public License v3.0
This falls under the 8. FORCED SETTINGS section of config.php.
By default, the file system is used for storing sessions in the moodledata directory. The Moodle role must provide an option for using Redis. This can be done with a role variable moodle_session_cache
limited to values:
The default value should be file
.
References:
The write permission is necessary for the site administrator to be able to install plugins.
Rename the "Lint" job (that does YAML Lint) to "YAML Lint".
The Ansible Lint job should depend on YAML Lint.
The Molecule job should depend on Ansible Lint.
Of the Moodle versions supported by this Ansible role, the "unrecognized option" error was first raised in Moodle 3.11. The commandline option --supportemail
was first introduced in Moodle 4.1, which means all versions between 3.9 and 4.1 are affected.
See GitHub Action job result: https://github.com/geoffreyvanwyk/ansible-role-moodle/actions/runs/6323468486/job/17171086454#step:5:277
The latest Moodle version is 4.3. The role should allow for its installation by setting the required PHP version.
If the parent of the deployment destination directory, {{ moodle_deploy_destination | dirname }}
, already exists, it should keep its original owner, group and mode to avoid any unforeseen repurcussions.
Rather use access control lists to give the Ansible user write access to it.
This will involve creating a tag for v1.0.0. The GitHub workflow will do the rest.
This is because a random password is assigned to the user which changes every time, because we do not want the password stored in the source code. A solution would be to first check if the user already exists without assigning a password (if possible), then assigning the password if the user did not already exist.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.