Skip to content

Commit

Permalink
Install Moodle dev pre-release IFF PHP >= 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
holta committed Jan 21, 2023
1 parent ded3999 commit c08eef9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions roles/moodle/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@
when: php_settings_done is undefined


- name: "MOODLE PRE-RELEASE TESTING: Download (clone) {{ moodle_repo_url }} branch 'master' to {{ moodle_base }} (~389 MB initially, ~416 MB later) if OS PHP {{ php_version }} >= 8.2"
- name: "MOODLE PRE-RELEASE TESTING: Download (clone) {{ moodle_repo_url }} branch 'master' to {{ moodle_base }} (~389 MB initially, ~416 MB later) if OS PHP {{ php_version }} >= 8.3"
git:
repo: "{{ moodle_repo_url }}" # https://github.com/moodle/moodle
dest: "{{ moodle_base }}" # /opt/iiab/moodle
depth: 1
version: master # For "weekly" Moodle pre-releases: https://download.moodle.org/releases/development/ (e.g. 3.5beta+ in May 2018, 4.1dev in Sept 2022, 4.2dev in Dec 2022)
when: php_version is version('8.2', '>=')
when: php_version is version('8.3', '>=')

- name: Download (clone) {{ moodle_repo_url }} branch '{{ moodle_version }}' to {{ moodle_base }} (~389 MB initially, ~416 MB later) if OS PHP {{ php_version }} < 8.2
- name: Download (clone) {{ moodle_repo_url }} branch '{{ moodle_version }}' to {{ moodle_base }} (~389 MB initially, ~416 MB later) if OS PHP {{ php_version }} < 8.3
git:
repo: "{{ moodle_repo_url }}" # https://github.com/moodle/moodle
dest: "{{ moodle_base }}" # /opt/iiab/moodle
depth: 1
version: "{{ moodle_version }}" # e.g. MOODLE_401_STABLE (Moodle 4.1)
when: php_version is version('8.2', '<')
when: php_version is version('8.3', '<')

- name: chown -R {{ apache_user }}:{{ apache_user }} {{ moodle_base }} (by default dirs 755 & files 644)
file:
Expand Down
2 changes: 1 addition & 1 deletion roles/network/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- libnss-mdns # 27kB download: RasPiOS (and package avahi-daemon, above) install this regardless -- client-side library -- provides name resolution via mDNS (Multicast DNS) using Zeroconf/Bonjour e.g. Avahi
- netmask # 25kB download: Handy utility -- helps determine network masks
- net-tools # 248kB download: RasPiOS installs this regardless -- @jvonau suggests possibly deleting this...unless oldtimers really want these older commands in iiab-diagnostics output?
- networkd-dispatcher # 15kB download: Dispatcher service for systemd-networkd connection status changes
#- networkd-dispatcher # 15kB download: Dispatcher service for systemd-networkd connection status changes
- rfkill # 87kB download: RasPiOS installs this regardless -- enable & disable wireless devices
- wireless-tools # 112kB download: RasPiOS installs this regardless -- manipulate Linux Wireless Extensions
- wpasupplicant # 1188kB download: RasPiOS installs this regardless -- client library for connections to a WiFi AP
Expand Down
6 changes: 3 additions & 3 deletions roles/network/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
when: network_manager_active
#when: is_debuntu and network_manager_active

- name: systemd-networkd in use
include_tasks: sysd-netd-debian.yml
when: systemd_networkd_active
# - name: systemd-networkd in use
# include_tasks: sysd-netd-debian.yml
# when: systemd_networkd_active
#when: is_debuntu and systemd_networkd_active

- name: Raspbian can use dhcpcd only with no N-M or SYS-NETD active
Expand Down

0 comments on commit c08eef9

Please sign in to comment.