Commit Graph

817 Commits

Author SHA1 Message Date
jeltz f69dfd8799 Remove other unmanaged hosts
continuous-integration/drone/push Build is passing Details
2021-04-01 17:41:22 +02:00
jeltz 5d681a95ea Remove unmanaged hosts from inventory
continuous-integration/drone/push Build is passing Details
2021-04-01 17:31:21 +02:00
jeltz a743ce09fb Move templates of the prometheus_federate role
continuous-integration/drone/push Build is passing Details
2021-04-01 09:42:54 +02:00
jeltz bc35cd8e90 Move templates of the prometheus role 2021-04-01 09:40:22 +02:00
jeltz 5bcc428895 Remove 'instance' from description and fix typos 2021-04-01 09:36:11 +02:00
jeltz eeaf0f8486 Fix syntax errors
continuous-integration/drone/push Build is passing Details
2021-04-01 06:02:40 +02:00
jeltz e247aa3f70 Uniform labels for alerts 2021-04-01 05:21:08 +02:00
jeltz 424aa80d8f Merge pull request 'Use update_motd everywhere' (#44) from use_update_motd_everywhere into master
continuous-integration/drone/push Build is passing Details
Reviewed-on: Aurore/ansible#44
2021-03-30 10:12:14 +02:00
jeltz e17f58111f Merge pull request 'Store local logs of log.adm.auro.re in /var/log/remote' (#43) from fix_local_logs_collector into master
continuous-integration/drone/push Build is passing Details
Reviewed-on: Aurore/ansible#43
2021-03-30 10:11:04 +02:00
jeltz ac05da7173 Use update_motd everywhere
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-03-30 10:08:21 +02:00
jeltz 8ab4159d38 Don't try to configure rsyslog on Wi-Fi APs
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-03-30 10:06:36 +02:00
jeltz dff0d9922c Store log.adm.auro.re local logs in /var/log/remote 2021-03-30 10:06:25 +02:00
jeltz 6104782a37 Merge pull request 'Cleanup logrotate configuration' (#41) from logrotate into master
continuous-integration/drone/push Build is passing Details
Reviewed-on: Aurore/ansible#41
2021-03-30 07:51:52 +02:00
jeltz 85e691a0a2 Don't store journald logs to disk
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
As they are already stored on disk by rsyslog.
2021-03-30 07:46:06 +02:00
jeltz 606df65535 Cleanup logrotate role 2021-03-30 07:45:52 +02:00
jeltz 3030d3bfab Fix typo: use 'Reload' instead of 'Restart' 2021-03-30 07:42:46 +02:00
jeltz f59d9ee6f0 WIP: add logrotate config for rsyslog-managed files 2021-03-30 06:01:43 +02:00
jeltz 9f671e71d6 Merge pull request 'Rename 're2o-bdd' to 're2o-db'' (#50) from fix_re2o_bdd_host into master
Reviewed-on: Aurore/ansible#50
2021-03-24 02:58:43 +01:00
jeltz d567ded046 Rename 're2o-bdd' to 're2o-db' 2021-03-24 02:57:11 +01:00
jeltz 6d74f04db4 Merge pull request 'Better distribution of backups over time' (#49) from backups into master
Reviewed-on: Aurore/ansible#49
2021-03-24 02:12:53 +01:00
jeltz 21eaeb2d42 Better distribution of backups over time 2021-03-24 02:10:11 +01:00
jeltz 789c11c3e3 Merge pull request 'Cleanup borgmatic related roles' (#47) from backups into master
Reviewed-on: Aurore/ansible#47
2021-03-18 22:19:39 +01:00
jeltz 3000f46c46 Randomize borgmatic timer 2021-03-16 15:05:29 +01:00
jeltz 6f927e30f3 Exclude docker and lxcfs folders from borgbackup 2021-03-16 15:05:07 +01:00
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