Skip to content
Snippets Groups Projects
Commit b6bc40af authored by jurgenhaas's avatar jurgenhaas
Browse files

#4 Update borgmatic configuration

parent 5d65bff6
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@
src: app.yaml
dest: '{{ application_root }}/borgconfig/config.yaml'
mode: 0600
when: ansible_distribution_major_version != '18'
- name: Crontabs
copy:
......
......@@ -17,6 +17,7 @@
mode: 0600
notify:
- Init Borgs
when: ansible_distribution_major_version != '18'
- name: Add Borgmatic Check
template:
......@@ -25,7 +26,7 @@
mode: 0600
notify:
- Init Borgs
when: not borgbackup.disable_local|default(false)
when: not borgbackup.disable_local|default(false) and ansible_distribution_major_version != '18'
- name: Add Borgmatic Configuration for Drupal
include_tasks: config_drupal.yml
......
......@@ -42,6 +42,7 @@
mode: 0600
notify:
- Init Borgs
when: ansible_distribution_major_version != '18'
- name: Configure Drupal Check
template:
......@@ -50,7 +51,7 @@
mode: 0600
notify:
- Init Borgs
when: not application_disable_local|default(false)
when: not application_disable_local|default(false) and ansible_distribution_major_version != '18'
- name: Add repo server host key to known hosts
known_hosts:
......
......@@ -33,6 +33,7 @@
mode: 0600
notify:
- Init Borgs
when: ansible_distribution_major_version != '18'
- name: Configure Nextcloud Check
template:
......@@ -41,7 +42,7 @@
mode: 0600
notify:
- Init Borgs
when: not application_disable_local|default(false)
when: not application_disable_local|default(false) and ansible_distribution_major_version != '18'
- name: Add repo server host key to known hosts
known_hosts:
......
......@@ -26,6 +26,7 @@
mode: 0600
notify:
- Init Borgs
when: ansible_distribution_major_version != '18'
- name: Configure Other Check
template:
......@@ -34,7 +35,7 @@
mode: 0600
notify:
- Init Borgs
when: not application_disable_local|default(false)
when: not application_disable_local|default(false) and ansible_distribution_major_version != '18'
- name: Add repo server host key to known hosts
known_hosts:
......
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