diff --git a/hosts b/hosts index 001fd29..93c70ce 100644 --- a/hosts +++ b/hosts @@ -245,6 +245,7 @@ ps-4-3.borne.auro.re [edc_server] perceval.adm.auro.re +caradoc.adm.auro.re [edc_pve] chapalux.adm.auro.re diff --git a/roles/borgbackup_client/tasks/main.yml b/roles/borgbackup_client/tasks/main.yml index fcf1226..8fa0852 100644 --- a/roles/borgbackup_client/tasks/main.yml +++ b/roles/borgbackup_client/tasks/main.yml @@ -13,7 +13,7 @@ dest: /etc/apt/preferences.d/borgmatic-bullseye when: - "ansible_distribution == 'Debian'" - - "ansible_distribution_major_version in ('stretch', 'buster')" + - "ansible_distribution_major_version in ('stretch', 'buster', '9', '10')" - name: Install borgmatic apt: diff --git a/roles/prometheus/templates/server.rules.yml.j2 b/roles/prometheus/templates/server.rules.yml.j2 index ac09881..db82ae8 100644 --- a/roles/prometheus/templates/server.rules.yml.j2 +++ b/roles/prometheus/templates/server.rules.yml.j2 @@ -50,7 +50,7 @@ groups: node_memory_SwapFree_bytes / node_memory_SwapTotal_bytes ) - ) * 100 > 10 + ) * 100 >= 20 for: 3m labels: severity: warning