mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	fix: and has precedence over or; "| bool" consistency
This commit is contained in:
		
							parent
							
								
									3f6c897ba1
								
							
						
					
					
						commit
						995d268bca
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
    daemon_reload: yes
 | 
			
		||||
    enabled: yes
 | 
			
		||||
    state: restarted
 | 
			
		||||
  when: calibreweb_enabled
 | 
			
		||||
  when: calibreweb_enabled | bool
 | 
			
		||||
 | 
			
		||||
- name: Disable 'calibre-web' systemd service
 | 
			
		||||
  systemd:
 | 
			
		||||
| 
						 | 
				
			
			@ -22,7 +22,7 @@
 | 
			
		|||
 | 
			
		||||
- name: Disable http://box{{ calibreweb_url1 }}, http://box{{ calibreweb_url2 }}, http://box{{ calibreweb_url3 }} with Apache
 | 
			
		||||
  command: a2dissite calibre-web.conf
 | 
			
		||||
  when: not calibreweb_enabled or nginx_enabled | bool and apache_install
 | 
			
		||||
  when: (not calibreweb_enabled or nginx_enabled) and apache_install
 | 
			
		||||
 | 
			
		||||
- name: Install {{ nginx_config_dir }}/calibre-web-nginx.conf
 | 
			
		||||
  template:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue