mirror of
				https://github.com/borgbase/ansible-role-borgbackup.git
				synced 2025-11-04 01:19:32 +01:00 
			
		
		
		
	Merge pull request #5 from varac/fix_ssh_cmd
Fix ssh_command in config.yaml template
This commit is contained in:
		
						commit
						98bd3907c9
					
				@ -57,7 +57,7 @@ storage:
 | 
				
			|||||||
    # Command to use instead of just "ssh". This can be used to specify ssh options.
 | 
					    # Command to use instead of just "ssh". This can be used to specify ssh options.
 | 
				
			||||||
    # ssh_command: ssh -i ~/.ssh/id_ed25519
 | 
					    # ssh_command: ssh -i ~/.ssh/id_ed25519
 | 
				
			||||||
{% if borg_ssh_command %}
 | 
					{% if borg_ssh_command %}
 | 
				
			||||||
    encryption_passcommand: {{ borg_ssh_command }}
 | 
					    ssh_command: {{ borg_ssh_command }}
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Umask to be used for borg create.
 | 
					    # Umask to be used for borg create.
 | 
				
			||||||
@ -133,4 +133,3 @@ hooks:
 | 
				
			|||||||
    # List of one or more shell commands or scripts to execute in case an exception has occurred.
 | 
					    # List of one or more shell commands or scripts to execute in case an exception has occurred.
 | 
				
			||||||
    on_error:
 | 
					    on_error:
 | 
				
			||||||
        - echo "`date` - Error while creating a backup."
 | 
					        - echo "`date` - Error while creating a backup."
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user