Commit graph

711 commits

Author SHA1 Message Date
29f2823960 [borgbackup_client] tell borg that a postgresql database lies on re2o-bdd 2021-03-12 00:32:08 +01:00
454bc66ae0 [borgbackup_client] backup /etc/ everywhere 2021-03-12 00:30:00 +01:00
3f8ffbe164 [borgbackup_client] Add borg username and group defaults 2021-03-12 00:01:11 +01:00
4123af6c01 [borgbackup_client] Install client on all machines (servers, vms and lxc containers) 2021-03-11 23:56:07 +01:00
531f7593d2 [borgbackup_client] fix identation 2021-03-11 23:37:55 +01:00
313314a674 [borgbackup_client] fix risky file permission on apt config for pinning version 2021-03-11 23:36:27 +01:00
4642395330 [borgbackup_client] Add initial role defintion 2021-03-11 23:29:57 +01:00
f0f56ecd3f Fix linter-related issues 2021-03-11 20:15:35 +01:00
7cf616f6c7 Add playbook for backups 2021-03-11 20:09:26 +01:00
2ea7f6f9f7 Add host_vars for perceval 2021-03-11 20:09:09 +01:00
db8dbb6c7a Add borgbackup_server role 2021-03-11 20:08:41 +01:00
jeltz
2a6c2b30de Merge pull request 'Rôle pour motd' () from update_motd into master
Reviewed-on: 
2021-03-11 19:34:41 +01:00
jeltz
7a691882f3 Merge pull request 'Add databases for Grafana and CAS' () from add_bdd_services into master
Reviewed-on: 
2021-03-11 19:33:24 +01:00
69516012a2 Add databases for Grafana and CAS 2021-03-11 19:28:14 +01:00
pz2891
e5299d8087 Merge pull request 'Merge monitoring of new ups, and adapt threesold' () from monitoring_ups into master
Reviewed-on: 
Reviewed-by: otthorn <otthorn@noreply.localhost>
Reviewed-by: jeltz <jeltz@noreply.localhost>
2021-03-11 15:09:43 +01:00
pz2891
f6dfd792d3 Merge branch 'master' into monitoring_ups 2021-03-11 15:06:33 +01:00
jeltz
40cd5c71ad Merge pull request 'Fix: keep the logs for 90 days' () from logrotate-fix-90-jours into master
Reviewed-on: 
2021-03-11 14:38:17 +01:00
pz2891
472feb2dc0 Merge branch 'master' into monitoring_ups 2021-03-11 14:32:11 +01:00
077858724a Merge branch 'master' into logrotate-fix-90-jours 2021-03-11 14:30:48 +01:00
38386fa1a0 Merge branch 'master' into logrotate-fix-90-jours 2021-03-11 14:28:45 +01:00
jeltz
7c7de51903 Merge pull request '[Docker] do not cache pip' () from docker_best_pratices into master
Reviewed-on: 
2021-03-11 14:25:08 +01:00
otthorn
a31f57e844 Merge branch 'master' into monitoring_ups 2021-03-11 14:23:39 +01:00
jeltz
974fcff1d3 Merge pull request 'Add playbook to deploy sudo update on all machines' () from sudo_update into master
Reviewed-on: 
2021-03-11 14:22:20 +01:00
6125856c60 Merge branch 'monitoring_ups' 2021-03-11 14:06:38 +01:00
a64864150f Remove services-web from hosts 2021-03-11 13:33:03 +01:00
d233fc2759 Update of threesold for warning battery 2021-03-11 13:23:15 +01:00
jeltz
ebb3c894da Merge pull request 'Ansiblesation des VMs de BDD' () from service-bdd-ovh into master
Reviewed-on: 
2021-03-10 20:18:15 +01:00
df4bee2980 Add kanboard database to bdd-ovh 2021-03-10 20:14:02 +01:00
6095d9cef9 Add 'no_log' for postgres passwords 2021-03-10 18:18:08 +01:00
630377edad Create users and databases on bdd-ovh 2021-03-10 17:21:58 +01:00
b3fa8a455d Add/Update password for postgres db codimd, etherpad and synapse 2021-03-10 17:13:56 +01:00
5871e1cfb8 Add/Update password for postgres db codimd, etherpad and synapse 2021-03-10 17:13:13 +01:00
d16f444130 Use a dict for HBA hosts 2021-03-10 15:59:21 +01:00
4f6eda8329 Use /run instead of /var/run to please systemd 2021-03-10 15:57:19 +01:00
628e11488d Switch postgresql to english 2021-03-10 15:22:01 +01:00
bd05b702bb Use '::' in place of '[::]' 2021-03-10 15:19:39 +01:00
06b54d5f89 Use postgresql_privs 2021-03-10 14:27:14 +01:00
40eadf802c Add template and no_log for postgresql_user 2021-03-10 13:58:40 +01:00
8e855d7009 Listen addresses must be quoted 2021-03-10 13:36:10 +01:00
7a07155237 Install python3-psycopg2 (required by Ansible) 2021-03-10 13:35:18 +01:00
36b04239fd Rename 'postgresql_db' to 'postgresql_databases' 2021-03-10 13:34:58 +01:00
f919ec689a Fix 'ansible_header' → 'ansible_managed' 2021-03-10 13:25:36 +01:00
9ef6202fdf Add configuration for users and databases 2021-03-10 13:23:52 +01:00
879e033857 Fix malformed role definition 2021-03-10 13:21:19 +01:00
ba4db4a835 Fix undefined variable 2021-03-10 12:58:51 +01:00
bbf4ac323c Moniroting of ups environmental temperature 2021-03-10 12:55:11 +01:00
d815434360 Add new ups monitored 2021-03-10 12:53:28 +01:00
76361de3f1 Add playbook for DBs 2021-03-10 12:52:15 +01:00
69c6d5b55d add and clean bdd hosts 2021-03-10 12:51:07 +01:00
0656dacbe8 Add config for bdd local 2021-03-10 12:47:15 +01:00