diff --git a/tasks/app.yml b/tasks/app.yml index 6f6ca26573bffe42614cceccaac7911dea54e90a..c5a27c06c650eebb2098ff0542bc58a2c2a45904 100644 --- a/tasks/app.yml +++ b/tasks/app.yml @@ -44,6 +44,7 @@ src: app.yaml dest: '{{ application_root }}/borgconfig/config.yaml' mode: 0600 + when: ansible_distribution_major_version != '18' - name: Crontabs copy: diff --git a/tasks/config.yml b/tasks/config.yml index df793804fd96cf19b434abf7285ff55a209e6ad4..5dddbc1f8881a0793e1ed08f3417b3cb9fd345ef 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -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 diff --git a/tasks/config_drupal.yml b/tasks/config_drupal.yml index 061457c0b0c9dc9761ba98d3abb0e683c509a02e..c13048d3c924233d5452192f56345a8b655ba8c0 100644 --- a/tasks/config_drupal.yml +++ b/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: diff --git a/tasks/config_nextcloud.yml b/tasks/config_nextcloud.yml index 474c7b3129c3d22a1787b4d28b6f1cdae9da6ecc..69dd8e1251d117683ae0e91061b0d088d557f650 100644 --- a/tasks/config_nextcloud.yml +++ b/tasks/config_nextcloud.yml @@ -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: diff --git a/tasks/config_other.yml b/tasks/config_other.yml index 9da728a7be313ddd298e86218cfee4444c21cabc..46500f5af30b240cb0529960c12d521ebe9f85db 100644 --- a/tasks/config_other.yml +++ b/tasks/config_other.yml @@ -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: