Use vm_torrent_srv to configure the torrent server
				
					
				
			This commit is contained in:
		
							parent
							
								
									320ad3a51d
								
							
						
					
					
						commit
						0f4e455717
					
				
					 5 changed files with 512 additions and 510 deletions
				
			
		| 
						 | 
				
			
			@ -26,10 +26,10 @@ Default: `vm_support: false
 | 
			
		|||
 | 
			
		||||
### Torrent Server
 | 
			
		||||
```
 | 
			
		||||
torrent_srv: "myseedbox.linuxmuster.net"
 | 
			
		||||
vm_torrent_srv: "myseedbox.linuxmuster.net"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Default: `torrent_srv: "seedbox.{{ domain }}"`
 | 
			
		||||
Default: `vm_torrent_srv: "seedbox.{{ domain }}"`
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Example
 | 
			
		||||
| 
						 | 
				
			
			@ -41,5 +41,5 @@ inventory.yml
 | 
			
		|||
all:
 | 
			
		||||
  vars:
 | 
			
		||||
    vm_support: true
 | 
			
		||||
    torrent_srv: "myseedbox.linuxmuster.net" # default: seedbox.{{ domain }}
 | 
			
		||||
    vm_torrent_srv: "myseedbox.linuxmuster.net" # default: seedbox.{{ domain }}
 | 
			
		||||
```
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1008
									
								
								inventory.yml
									
										
									
									
									
								
							
							
						
						
									
										1008
									
								
								inventory.yml
									
										
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							| 
						 | 
				
			
			@ -1,3 +1,3 @@
 | 
			
		|||
---
 | 
			
		||||
vm_support: false
 | 
			
		||||
torrent_srv: "seedbox.{{ domain }}"
 | 
			
		||||
vm_torrent_srv: "seedbox.{{ domain }}"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -159,8 +159,8 @@
 | 
			
		|||
    - desktop-sync
 | 
			
		||||
 | 
			
		||||
- name: Deploy vm configuration file vm.conf
 | 
			
		||||
  ansible.builtin.copy:
 | 
			
		||||
    src: vm.conf
 | 
			
		||||
  ansible.builtin.template:
 | 
			
		||||
    src: vm.conf.j2
 | 
			
		||||
    dest: /etc/lmn/vm.conf
 | 
			
		||||
    owner: root
 | 
			
		||||
    group: root
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
# variables for LMN VM submodule
 | 
			
		||||
 | 
			
		||||
SEEDBOX_HOST="seedbox.pn.steinbeis.schule"
 | 
			
		||||
SEEDBOX_HOST="{{ vm_torrent_srv }}"
 | 
			
		||||
SEEDBOX_PORT=6789
 | 
			
		||||
SEEDBOX_RPC_PORT=6800
 | 
			
		||||
SEEDBOX_PWFILE="/etc/lmn/uploadseed.conf"
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue