mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Clarify moodle/tasks/install.yml
This commit is contained in:
		
							parent
							
								
									fcc7f73796
								
							
						
					
					
						commit
						1d11e3905c
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -52,13 +52,13 @@
 | 
			
		|||
  file:
 | 
			
		||||
    state: directory
 | 
			
		||||
    path: "{{ moodle_base }}"
 | 
			
		||||
    owner: "{{ apache_user }}"
 | 
			
		||||
    owner: "{{ apache_user }}"    # www-data
 | 
			
		||||
    recurse: yes
 | 
			
		||||
 | 
			
		||||
- name: Create dir {{ content_base }}/dbdata/moodle owned by {{ apache_user }}
 | 
			
		||||
  file:
 | 
			
		||||
    state: directory
 | 
			
		||||
    path: "{{ content_base }}/dbdata/moodle"
 | 
			
		||||
    path: "{{ content_base }}/dbdata/moodle"    # /library
 | 
			
		||||
    owner: "{{ apache_user }}"
 | 
			
		||||
 | 
			
		||||
- name: Create dir {{ moodle_data }} ({{ apache_user }}:{{ apache_user }}, '0770')
 | 
			
		||||
| 
						 | 
				
			
			@ -74,6 +74,7 @@
 | 
			
		|||
    path: "/etc/{{ apache_conf_dir }}/moodle.conf"    # apache2/sites-available
 | 
			
		||||
    state: absent
 | 
			
		||||
 | 
			
		||||
# 2021-02-01: Not nec if we can hopefully migrate from Apache to NGINX soon!
 | 
			
		||||
- name: Install /etc/{{ apache_conf_dir }}/022-moodle.conf from template
 | 
			
		||||
  template:
 | 
			
		||||
    src: 022-moodle.j2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue