diff --git a/roles/ynh_backup/tasks/borgbackup.yml b/roles/ynh_backup/tasks/borgbackup.yml index 9cb46ee183083203f3a24e90b7240043e0d40a96..4092cc7a0cd6bcfeab7647d393a0f40f4fd4e5dc 100644 --- a/roles/ynh_backup/tasks/borgbackup.yml +++ b/roles/ynh_backup/tasks/borgbackup.yml @@ -22,8 +22,8 @@ delegate_to: localhost become: False tags: - - backup - - borg + - backup + - borg - name: Gather facts for BorgBackup role ansible.builtin.setup: @@ -35,8 +35,8 @@ ansible.builtin.import_role: name: m3nu.ansible_role_borgbackup tags: - - backup - - borg + - backup + - borg - name: Create backup folder for BorgBackup repository ansible.builtin.file: @@ -44,13 +44,13 @@ state: directory mode: '0750' tags: - - backup - - borg + - backup + - borg - name: Configure host for Borg Remote repository tags: - - backup - - borg + - backup + - borg block: - name: deploy ssh public key for BorgBackup ansible.builtin.copy: @@ -77,8 +77,8 @@ state: present when: ynh_ssh_borg_command is defined tags: - - backup - - borg + - backup + - borg - name: change archive name in "/etc/borgmatic/{{ borgmatic_config_name }}" @@ -88,8 +88,8 @@ line: " archive_name_format: {{ borg_archive_name_format }}" state: present tags: - - backup - - borg + - backup + - borg - name: Create borg launch script in /usr/local/bin ansible.builtin.copy: @@ -102,11 +102,11 @@ group: root mode: "0755" tags: - - backup - - borg + - backup + - borg - name: Initialize a new Borg repository ansible.builtin.command: "{{ borg_init_command }}" tags: - - backup - - borg + - backup + - borg diff --git a/roles/ynh_backup/tasks/main.yml b/roles/ynh_backup/tasks/main.yml index 9b44ede6ba98461d17f965e5d9edbc7c43a7d821..e932c65c0fd21dc7825447f173ec20522bda58fc 100644 --- a/roles/ynh_backup/tasks/main.yml +++ b/roles/ynh_backup/tasks/main.yml @@ -27,12 +27,12 @@ ansible.builtin.include_tasks: borgbackup.yml when: ynh_borg_backup_scheduled tags: - - backup - - borg + - backup + - borg - name: Use Restic with YunoHost ansible.builtin.include_tasks: restic.yml when: ynh_restic_backup_scheduled tags: - - backup - - restic + - backup + - restic diff --git a/roles/ynh_backup/tasks/restic.yml b/roles/ynh_backup/tasks/restic.yml index 58cd5c7b45149e7ca9d3d7158256581730222615..db383f220349cd5e69fd22f72fc0e0221d2ef4d6 100644 --- a/roles/ynh_backup/tasks/restic.yml +++ b/roles/ynh_backup/tasks/restic.yml @@ -22,8 +22,8 @@ delegate_to: localhost become: False tags: - - backup - - restic + - backup + - restic - name: Gather facts for Restic role ansible.builtin.setup: @@ -35,5 +35,5 @@ ansible.builtin.import_role: name: do1jlr.restic tags: - - backup - - restic + - backup + - restic