Commit Graph

845 Commits

Author SHA1 Message Date
jeltz 8524b9fa99 Fix typo 2021-03-16 14:13:12 +01:00
jeltz 37582abfe1 Remove useless tasks from borgmatic_client 2021-03-16 13:47:14 +01:00
jeltz 96a498c6de Break long lines in borgmatic.service unit 2021-03-16 13:46:46 +01:00
jeltz d902b71e04 Merge pull request 'Log source port for NGinx' (#46) from fix_logging_src_port into master
Reviewed-on: Aurore/ansible#46
2021-03-16 13:22:58 +01:00
jeltz 1be92bad62 Log source port for NGinx 2021-03-16 09:43:13 +01:00
jeltz 01bca6597d Run borgmatic every hour 2021-03-16 09:38:51 +01:00
jeltz eabd709ec7 Merge pull request 'Add kanboard.auro.re to proxy-ovh.adm.auro.re' (#45) from kanboard into master
Reviewed-on: Aurore/ansible#45
2021-03-15 13:16:36 +01:00
jeltz 2d8897e9f9 Merge pull request 'Add bullseye support in 'prometheus_node'' (#44) from fix_prometheus_bullseye into master
Reviewed-on: Aurore/ansible#44
2021-03-15 10:55:57 +01:00
jeltz 21a3d5af2a Add bullseye support in 'prometheus_node' 2021-03-15 10:50:40 +01:00
jeltz 4305a60639 Merge pull request 'Backups with borg and borgmatic' (#39) from backups into master
Reviewed-on: Aurore/ansible#39
2021-03-15 07:53:33 +01:00
jeltz 3f3f688da4 Use 'present' instead of 'latest' (ansible-lint) 2021-03-15 07:51:48 +01:00
jeltz 6713b550b6 Merge branch 'master' into backups 2021-03-15 07:50:11 +01:00
jeltz cb3ec07121 Use 'inventory_hostname' instead of 'ansible_fqdn'
While 'ansible_fdqn' can be changed by a compromised host,
'inventory_hostname' can't (hopefully).

It should therefore no longer be possible for the said host to access
the backups of another host.
2021-03-15 07:25:09 +01:00
otthorn 243ec1fe9d [borgbackup_client] VaRi0u5 f1X3s 2021-03-15 01:04:42 +01:00
otthorn e12f67c920 [borgbackup_client] ignore some Strech machines 2021-03-15 01:03:34 +01:00
otthorn f8e5f0cc76 Manually cherrypicked from 65c94d8e84 2021-03-14 23:56:07 +01:00
jeltz 45220cdebd Merge pull request 'Allow root to log as postgres' (#43) from bdd_local_root into master
Reviewed-on: Aurore/ansible#43
2021-03-14 23:55:49 +01:00
jeltz f15b222cdc Allow root to log as postgres 2021-03-14 23:45:36 +01:00
otthorn a54006c9d4 Various fixes 2021-03-14 23:39:12 +01:00
otthorn 6f36506a98 rm a _bak file 2021-03-14 22:09:27 +01:00
otthorn 41eb446114 small fix 2021-03-14 22:08:29 +01:00
otthorn 7480a7c565 [borgbackup_client] precedence rules and sain defaults for borg config 2021-03-14 22:02:34 +01:00
otthorn 59f2c94a61 Custom borgbackup configuration for the logs 2021-03-14 21:14:37 +01:00
otthorn e570ce67b3 [borgbackup_client] do not backup /var/log/ 2021-03-14 19:23:04 +01:00
otthorn b14b359027 [borgbackup_client] add exlude path to conf 2021-03-14 19:21:15 +01:00
otthorn 33a1ec02f3 [borgbackup_client] update config directory to be homogeneous 2021-03-14 19:07:02 +01:00
otthorn ebfc4f2a26 [borgbackup_client] do update cache 2021-03-14 19:03:44 +01:00
otthorn 0b5562f3f4 Add litl.adm.auro.re 2021-03-14 18:57:44 +01:00
jeltz 86f8b31159 Delegate facts for borgbackup_client 2021-03-14 18:44:13 +01:00
jeltz d9f1104309 Move id_remote to /etc/borgmatic 2021-03-14 18:42:26 +01:00
otthorn c6cae75031 [borgbackup_server] fix /borg permissions 2021-03-14 18:29:33 +01:00
otthorn 46d10022ea [borgbackup_client] fix rentention date to int and list correctly source directories 2021-03-14 18:24:36 +01:00
otthorn ff750c5b63 [borgbackup_client] remove 1 minute sleep and fix verbosity 2021-03-14 18:23:44 +01:00
otthorn 2651432582 [WIP] various fixes 2021-03-14 18:22:52 +01:00
otthorn c5afbdbde4 remove borg_host_dir 2021-03-14 18:22:17 +01:00
otthorn d928c7f7f0 [borgbackup_client] rename variable correclty 2021-03-14 16:11:40 +01:00
otthorn 021a5ef1e8 [borgbackup_client] various fixes for ssh keys 2021-03-14 16:11:18 +01:00
jeltz c99b611b8f Various fixes 2021-03-14 14:17:36 +01:00
jeltz 8112788396 [borgbackup_client] Add 'user:' in authorized_key 2021-03-14 13:18:30 +01:00
jeltz 2f2f71422f [borgbackup_client] Move some handlers to tasks 2021-03-14 13:16:08 +01:00
jeltz 25e05069de Merge pull request 'Monitor more switchs using Prometheus' (#42) from fix_exported_prometheus into master
Reviewed-on: Aurore/ansible#42
2021-03-14 11:53:45 +01:00
jeltz ac42401d6d Merge branch 'master' into fix_exported_prometheus 2021-03-14 10:20:05 +01:00
jeltz a43a9839f8 Monitor more switchs 2021-03-14 10:19:55 +01:00
jeltz 11578494ec Merge pull request 'Centralisation des journaux (pas encore Elastic)' (#40) from logs-first-phase into master
Reviewed-on: Aurore/ansible#40
2021-03-13 05:06:33 +01:00
jeltz 637b74a2ad Fix some linter issues 2021-03-13 05:05:30 +01:00
jeltz f45cd77510 Merge branch 'master' into logs-first-phase 2021-03-13 05:02:30 +01:00
jeltz 715d332d25 Merge pull request 'Migration des bases de données vers bdd.adm.auro.re' (#41) from bdd-saclay into master
Reviewed-on: Aurore/ansible#41
2021-03-13 04:54:59 +01:00
otthorn 65c94d8e84 Fix trailing whitespace in the linter
continuous-integration/drone/push Build is failing Details
2021-03-13 03:13:43 +01:00
otthorn 4150a77649 Remove vote from bdd.adm.auro.re
continuous-integration/drone/push Build is failing Details
2021-03-13 03:09:21 +01:00
otthorn a01a2095d6 Add passwords in all and vault for postgres db for wikijs, gitea, nextcloud, drone 2021-03-13 03:07:35 +01:00