diff --git a/hosts b/hosts index f3ec2af..6f340ab 100644 --- a/hosts +++ b/hosts @@ -39,7 +39,6 @@ log.adm.auro.re bdd.adm.auro.re bdd-ovh.adm.auro.re litl.adm.auro.re -services-bdd-local.adm.auro.re log.adm.auro.re [aurore_testing_vm] @@ -53,7 +52,6 @@ horus.adm.auro.re [ovh_container] synapse.adm.auro.re -#services-bdd.adm.auro.re phabricator.adm.auro.re wiki.adm.auro.re www.adm.auro.re @@ -516,5 +514,4 @@ proxy.adm.auro.re [bdd] bdd.adm.auro.re bdd-ovh.adm.auro.re -services-bdd-local.adm.auro.re -re2o-db.adm.auro.re +re2o-bdd.adm.auro.re diff --git a/roles/borgbackup_client/tasks/main.yml b/roles/borgbackup_client/tasks/main.yml index 728d253..0b80a76 100644 --- a/roles/borgbackup_client/tasks/main.yml +++ b/roles/borgbackup_client/tasks/main.yml @@ -1,4 +1,7 @@ --- +- debug: + msg: "{{ ansible_distribution_major_version }}" + - name: Pin borgmatic template: src: "{{ item.src }}" @@ -13,7 +16,7 @@ dest: /etc/apt/preferences.d/borgmatic-bullseye when: - "ansible_distribution == 'Debian'" - - "ansible_distribution_major_version in ('stretch', 'buster')" + - "ansible_distribution_major_version in ('9', '10', 'stretch', 'buster')" - name: Install borgmatic apt: