Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

Resolve "external backup on borg"

Merged Arthur BOUDREAULT requested to merge 40-external-backup-on-borg into main
All threads resolved!
Compare and Show latest version
4 files
+ 7
10
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -18,9 +18,8 @@
# #
#-----------------------------------------------------------------------------#
- name: Download BorgBackup role on localhost
local_action:
module: ansible.builtin.command
cmd: ansible-galaxy install -r requirements.yml
ansible.builtin.command: ansible-galaxy install m3nu.ansible_role_borgbackup,v0.9.0 -p ~/.ansible/roles
delegate_to: localhost
become: False
- name: run BorgBackup role
@@ -58,7 +57,7 @@
regexp: "# ssh_command: ssh -i ~/.ssh/id_ed25519"
line: "{{ ynh_ssh_borg_command }}"
state: present
when: ynh_borg_backup_remote_repo and ynh_ssh_borg_command
when: ynh_ssh_borg_command is defined
- name: change archive name in "/etc/borgmatic/{{ borgmatic_config_name }}"
@@ -68,7 +67,7 @@
line: " archive_name_format: {{ borg_archive_name_format }}"
state: present
- name: Create borg command in /usr/local/bin
- name: Create borg launch script in /usr/local/bin
ansible.builtin.copy:
content: |
#!/bin/bash
Loading