mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	moodle/tasks/install.yml: Install 4.6dev if PHP >= 8.4
This commit is contained in:
		
							parent
							
								
									b91e953444
								
							
						
					
					
						commit
						ab8c071374
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -96,21 +96,21 @@
 | 
			
		|||
    moodle_version: MOODLE_401_STABLE    # i.e. Moodle 4.1 LTS
 | 
			
		||||
  when: php_version is version('8.0', '<') or not dpkg_arch.stdout is search("64")
 | 
			
		||||
 | 
			
		||||
- name: Download (clone) {{ moodle_repo_url }} branch '{{ moodle_version }}' to {{ moodle_base }} (~403 MB initially, ~431 MB later) if OS PHP {{ php_version }} < 8.3
 | 
			
		||||
- name: Download (clone) {{ moodle_repo_url }} branch '{{ moodle_version }}' to {{ moodle_base }} (~403 MB initially, ~431 MB later) if OS PHP {{ php_version }} < 8.4
 | 
			
		||||
  git:
 | 
			
		||||
    repo: "{{ moodle_repo_url }}"    # https://github.com/moodle/moodle
 | 
			
		||||
    dest: "{{ moodle_base }}"        # /opt/iiab/moodle
 | 
			
		||||
    depth: 1
 | 
			
		||||
    version: "{{ moodle_version }}"    # e.g. MOODLE_404_STABLE (Moodle 4.4)
 | 
			
		||||
  when: php_version is version('8.3', '<')
 | 
			
		||||
  when: php_version is version('8.4', '<')
 | 
			
		||||
 | 
			
		||||
- name: "MOODLE PRE-RELEASE TESTING: Download (clone) {{ moodle_repo_url }} branch 'main' to {{ moodle_base }} (~458 MB initially, ~485 MB later) if OS PHP {{ php_version }} >= 8.3"
 | 
			
		||||
- name: "MOODLE PRE-RELEASE TESTING: Download (clone) {{ moodle_repo_url }} branch 'main' to {{ moodle_base }} (~458 MB initially, ~485 MB later) if OS PHP {{ php_version }} >= 8.4"
 | 
			
		||||
  git:
 | 
			
		||||
    repo: "{{ moodle_repo_url }}"
 | 
			
		||||
    dest: "{{ moodle_base }}"
 | 
			
		||||
    depth: 1
 | 
			
		||||
    version: main    # 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, 4.3dev in May 2023, 4.4dev in Oct 2023, 4.5dev in Apr 2024)
 | 
			
		||||
  when: php_version is version('8.3', '>=')
 | 
			
		||||
    version: main    # 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, 4.3dev in May 2023, 4.4dev in Oct 2023, 4.5dev in Apr 2024, 4.6dev in Oct 2024)
 | 
			
		||||
  when: php_version is version('8.4', '>=')
 | 
			
		||||
 | 
			
		||||
- name: chown -R {{ apache_user }}:{{ apache_user }} {{ moodle_base }} (by default dirs 755 & files 644)
 | 
			
		||||
  file:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue