mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			396 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			396 B
		
	
	
	
		
			Text
		
	
	
	
	
	
- name: Enable http://box/usb via Apache
 | 
						|
  command: a2ensite content_dir.conf
 | 
						|
  when: usb_lib_enabled
 | 
						|
 | 
						|
- name: Disable http://box/usb via Apache
 | 
						|
  command: a2dissite content_dir.conf
 | 
						|
  when: not usb_lib_enabled
 | 
						|
 | 
						|
- name: (Re)Start '{{ apache_service }}' systemd service
 | 
						|
  systemd:
 | 
						|
    name: "{{ apache_service }}"    # apache2 or httpd, as set in /opt/iiab/iiab/vars/<OS>.yml
 | 
						|
    state: restarted
 |