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
Commit ef88da0c authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT
Browse files

test

parent 6f96af44
No related branches found
No related tags found
No related merge requests found
Pipeline #7281 passed with warnings
...@@ -21,22 +21,22 @@ ...@@ -21,22 +21,22 @@
ansible.builtin.command: ansible-galaxy install m3nu.ansible_role_borgbackup,v0.9.0 -p ~/.ansible/roles ansible.builtin.command: ansible-galaxy install m3nu.ansible_role_borgbackup,v0.9.0 -p ~/.ansible/roles
delegate_to: localhost delegate_to: localhost
become: False become: False
tags: borg # tags: borg
- name: run BorgBackup role - name: run BorgBackup role
ansible.builtin.import_role: ansible.builtin.import_role:
name: m3nu.ansible_role_borgbackup name: m3nu.ansible_role_borgbackup
tags: borg # tags: borg
- name: Create backup folder for BorgBackup repository - name: Create backup folder for BorgBackup repository
ansible.builtin.file: ansible.builtin.file:
path: "{{ borg_repository }}" path: "{{ borg_repository }}"
state: directory state: directory
mode: '0750' mode: '0750'
tags: borg # tags: borg
- name: Configure host for Borg Remote repository - name: Configure host for Borg Remote repository
tags: borg # tags: borg
block: block:
- name: deploy ssh public key for BorgBackup - name: deploy ssh public key for BorgBackup
ansible.builtin.copy: ansible.builtin.copy:
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
line: "{{ ynh_ssh_borg_command }}" line: "{{ ynh_ssh_borg_command }}"
state: present state: present
when: ynh_ssh_borg_command is defined when: ynh_ssh_borg_command is defined
tags: borg # tags: borg
- name: change archive name in "/etc/borgmatic/{{ borgmatic_config_name }}" - name: change archive name in "/etc/borgmatic/{{ borgmatic_config_name }}"
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
regexp: "archive_name_format:" regexp: "archive_name_format:"
line: " archive_name_format: {{ borg_archive_name_format }}" line: " archive_name_format: {{ borg_archive_name_format }}"
state: present state: present
tags: borg # tags: borg
- name: Create borg launch script in /usr/local/bin - name: Create borg launch script in /usr/local/bin
ansible.builtin.copy: ansible.builtin.copy:
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
owner: root owner: root
group: root group: root
mode: "0755" mode: "0755"
tags: borg # tags: borg
- name: Initialize a new Borg repository - name: Initialize a new Borg repository
ansible.builtin.command: "{{ borg_init_command }}" ansible.builtin.command: "{{ borg_init_command }}"
tags: borg # tags: borg
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment