Merge pull request 'Add caradoc' (#58) from add_caradoc into master
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: Aurore/ansible#58
This commit is contained in:
jeltz 2021-05-23 14:07:57 +02:00
commit 4f66702f15
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