mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #1216 from arky/transmission-fix-1193
Check transmission_kalite_languages is undefined
This commit is contained in:
		
						commit
						a5d64b3ea7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
  systemd:
 | 
					  systemd:
 | 
				
			||||||
    name: transmission-daemon
 | 
					    name: transmission-daemon
 | 
				
			||||||
    state: stopped
 | 
					    state: stopped
 | 
				
			||||||
  ignore_errors: yes  
 | 
					  ignore_errors: yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Create transmission-daemon settings
 | 
					- name: Create transmission-daemon settings
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
| 
						 | 
					@ -43,8 +43,8 @@
 | 
				
			||||||
    -n {{ transmission_username }}:{{ transmission_password }}
 | 
					    -n {{ transmission_username }}:{{ transmission_password }}
 | 
				
			||||||
    -a http://pantry.learningequality.org/downloads/ka-lite/{{ transmission_kalite_version }}/content/ka-lite-0.17-resized-videos-{{ item }}.torrent
 | 
					    -a http://pantry.learningequality.org/downloads/ka-lite/{{ transmission_kalite_version }}/content/ka-lite-0.17-resized-videos-{{ item }}.torrent
 | 
				
			||||||
  with_items: "{{ transmission_kalite_languages }}"
 | 
					  with_items: "{{ transmission_kalite_languages }}"
 | 
				
			||||||
 | 
					  when: transmission_enabled and transmission_provision and transmission_kalite_languages is defined
 | 
				
			||||||
  ignore_errors: yes
 | 
					  ignore_errors: yes
 | 
				
			||||||
  when: transmission_provision
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Disable transmission-daemon service
 | 
					- name: Disable transmission-daemon service
 | 
				
			||||||
  systemd:
 | 
					  systemd:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue