Add caradoc #58

Merged
jeltz merged 2 commits from add_caradoc into master 2021-05-23 14:08:03 +02:00
3 changed files with 3 additions and 2 deletions

1
hosts
View file

@ -245,6 +245,7 @@ ps-4-3.borne.auro.re
[edc_server] [edc_server]
perceval.adm.auro.re perceval.adm.auro.re
caradoc.adm.auro.re
[edc_pve] [edc_pve]
chapalux.adm.auro.re chapalux.adm.auro.re

View file

@ -13,7 +13,7 @@
dest: /etc/apt/preferences.d/borgmatic-bullseye dest: /etc/apt/preferences.d/borgmatic-bullseye
when: when:
- "ansible_distribution == 'Debian'" - "ansible_distribution == 'Debian'"
- "ansible_distribution_major_version in ('stretch', 'buster')" - "ansible_distribution_major_version in ('stretch', 'buster', '9', '10')"
- name: Install borgmatic - name: Install borgmatic
apt: apt:

View file

@ -50,7 +50,7 @@ groups:
node_memory_SwapFree_bytes node_memory_SwapFree_bytes
/ node_memory_SwapTotal_bytes / node_memory_SwapTotal_bytes
) )
) * 100 > 10 ) * 100 >= 20
for: 3m for: 3m
labels: labels:
severity: warning severity: warning