[rsync-client] Add wireguard interface. Enable backups on sputnik.
							parent
							
								
									f4326afd76
								
							
						
					
					
						commit
						c103710745
					
				| 
						 | 
					@ -30,3 +30,7 @@
 | 
				
			||||||
    name: rsync
 | 
					    name: rsync
 | 
				
			||||||
    enabled: true
 | 
					    enabled: true
 | 
				
			||||||
    state: started
 | 
					    state: started
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: TODO
 | 
				
			||||||
 | 
					  debug:
 | 
				
			||||||
 | 
					    msg: Make use of the lookup plugin to avoid hardcoding things ?
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -34,13 +34,14 @@ address = {{ hostvars[inventory_hostname]['ansible_' + adm_iface.stdout].ipv4.ad
 | 
				
			||||||
path = /var
 | 
					path = /var
 | 
				
			||||||
auth users = backupcrans
 | 
					auth users = backupcrans
 | 
				
			||||||
secrets file = /etc/rsyncd.secrets
 | 
					secrets file = /etc/rsyncd.secrets
 | 
				
			||||||
hosts allow = zephir.adm.crans.org 10.231.136.6
 | 
					hosts allow = zephir.adm.crans.org 10.231.136.6 {% if ansible_hostname == "sputnik" %}172.31.0.1{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[slash]
 | 
					[slash]
 | 
				
			||||||
path = /
 | 
					path = /
 | 
				
			||||||
auth users = backupcrans
 | 
					auth users = backupcrans
 | 
				
			||||||
secrets file = /etc/rsyncd.secrets
 | 
					secrets file = /etc/rsyncd.secrets
 | 
				
			||||||
hosts allow = zephir.adm.crans.org 10.231.136.6
 | 
					hosts allow = zephir.adm.crans.org 10.231.136.6 {% if ansible_hostname == "sputnik" %}172.31.0.1{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{# rsync readonly pour le miroir #}
 | 
					{# rsync readonly pour le miroir #}
 | 
				
			||||||
{% if ansible_hostname == "charybde" %}
 | 
					{% if ansible_hostname == "charybde" %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue