Compare commits

...

1 commit

Author SHA1 Message Date
50364fa989 Remove services-bdd(-local)? from inventory 2021-03-25 18:00:11 +01:00
2 changed files with 5 additions and 5 deletions

5
hosts
View file

@ -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

View file

@ -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: