mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			446 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			446 B
		
	
	
	
		
			Text
		
	
	
	
	
	
- name: Enable http://box{{ gitea_url }} via Apache    # http://box/gitea
 | 
						|
  command: a2ensite gitea.conf
 | 
						|
  when: gitea_enabled
 | 
						|
 | 
						|
- name: Disable http://box{{ gitea_url }} via Apache    # http://box/gitea
 | 
						|
  command: a2dissite gitea.conf
 | 
						|
  when: not gitea_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
 |