From 0ae0a9db5ee023a66911ed0aee955aaded3bc158 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 3 Dec 2020 18:23:18 -0500 Subject: [PATCH 1/3] Moodle 3.9 -> 3.10 --- roles/moodle/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/moodle/defaults/main.yml b/roles/moodle/defaults/main.yml index d3163b3d5..2bb7fe704 100644 --- a/roles/moodle/defaults/main.yml +++ b/roles/moodle/defaults/main.yml @@ -7,7 +7,7 @@ # All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml # If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! -moodle_version: 39 +moodle_version: 310 moodle_repo_url: https://github.com/moodle/moodle.git #moodle_repo_url: git://git.moodle.org/moodle.git # 2020-10-16: VERY Slow! moodle_base: "{{ iiab_base }}/moodle" # /opt/iiab From 5f1244e2f2671d4f4eb5b943c407f700546d6e17 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 3 Dec 2020 20:49:22 -0500 Subject: [PATCH 2/3] Moodle 3.10 requires pkg: php{{ php_version }}-intl --- roles/moodle/tasks/install.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/moodle/tasks/install.yml b/roles/moodle/tasks/install.yml index f28594d10..558519af2 100644 --- a/roles/moodle/tasks/install.yml +++ b/roles/moodle/tasks/install.yml @@ -26,7 +26,7 @@ # state: present # when: not is_debuntu -- name: Install 4 php packages (debuntu) +- name: Install 7 php packages (debuntu) package: name: - php{{ php_version }}-pgsql @@ -34,7 +34,8 @@ - php{{ php_version }}-zip - php{{ php_version }}-gd - php{{ php_version }}-mbstring # 2020-06-15: Now required by Moodle 3.9+ - - php{{ php_version }}-cli # 2020-06-15: In the past this included (above) mbstring? However this is not true on Ubuntu Server 20.04 LTS. + - php{{ php_version }}-cli # 2020-06-15: In the past this included (above) mbstring? However this is not true on Ubuntu Server 20.04 LTS. + - php{{ php_version }}-intl # 2020-12-03: Now required by Moodle 3.10+ state: present when: is_debuntu From 7f89cb8fd41a108c84ed590c53f2f63e29646cab Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 3 Dec 2020 20:57:00 -0500 Subject: [PATCH 3/3] Moodle 3.10 recommends pkg php{{ php_version }}-soap --- roles/moodle/tasks/install.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/roles/moodle/tasks/install.yml b/roles/moodle/tasks/install.yml index 558519af2..2f9495179 100644 --- a/roles/moodle/tasks/install.yml +++ b/roles/moodle/tasks/install.yml @@ -26,16 +26,17 @@ # state: present # when: not is_debuntu -- name: Install 7 php packages (debuntu) +- name: Install 8 php packages (debuntu) package: name: - php{{ php_version }}-pgsql - php{{ php_version }}-curl - php{{ php_version }}-zip - php{{ php_version }}-gd - - php{{ php_version }}-mbstring # 2020-06-15: Now required by Moodle 3.9+ + - php{{ php_version }}-mbstring # 2020-06-15: Required by Moodle 3.9+ - php{{ php_version }}-cli # 2020-06-15: In the past this included (above) mbstring? However this is not true on Ubuntu Server 20.04 LTS. - - php{{ php_version }}-intl # 2020-12-03: Now required by Moodle 3.10+ + - php{{ php_version }}-intl # 2020-12-03: Required by Moodle 3.10+ + - php{{ php_version }}-soap # 2020-12-03: Recommended by Moodle 3.10+ state: present when: is_debuntu