Commit Graph

458 Commits (496e36f1b408a6e363c769c5f0da76a13827d3ad)

Author SHA1 Message Date
_benjamin 051788fcbe [keepalived] Added role to install keepalived 2020-01-20 16:59:40 +01:00
_benjamin 15cd5ce7ec [logall] Added role to handle firewall logs 2020-01-20 14:10:03 +01:00
_benjamin 50f105bcfe [quagga] Added role to install quagga 2020-01-20 13:39:47 +01:00
Alexandre Iooss a63cea10e1
Do not warn on orphans 2020-01-19 19:33:04 +01:00
Alexandre Iooss f34db0c556
Warn on orphans only if >1 2020-01-19 19:21:09 +01:00
Alexandre Iooss c26294b0a5
Warn when orphans packages are present 2020-01-19 18:57:38 +01:00
Alexandre Iooss e55bef009a
Add orphans apt packages metric 2020-01-19 18:56:23 +01:00
Alexandre Iooss 3c2f218a2f
Warn when autoremove is possible 2020-01-19 18:39:29 +01:00
Alexandre Iooss feadda6fac
Patch prometheus APT collector 2020-01-19 18:23:40 +01:00
_benjamin cbd83f3732 Fix CI 2020-01-19 15:22:46 +01:00
_benjamin 5ae5e275fe [re2o-firewall] Deploy firewall_config.py 2020-01-19 10:54:57 +01:00
_benjamin a5614ab30c [re2o-firewall] Added role to install re2o firewall service 2020-01-19 10:39:46 +01:00
_benjamin fb49bc2394 [re2o-dhcp] Added role to install re2o dhcp service 2020-01-18 17:55:36 +01:00
_benjamin 71bb8f86da [re2o-home] Deploy cron to create home directories 2020-01-18 13:53:04 +01:00
_benjamin 9158cdb20f [re2o-dns] Deploy cron to refresh dns 2020-01-18 13:52:31 +01:00
_benjamin 9955f69ec7 [re2o-notif-users] Added role to install re2o notif-users service 2020-01-18 13:51:55 +01:00
_benjamin b44eef4089 [re2o-home] Added role to install re2o home service 2020-01-18 13:07:57 +01:00
_benjamin d48c72ef76 [re2o-dns] Added role to install re2o dns service 2020-01-18 09:52:44 +01:00
_benjamin e0cf2286c0 [re2o-services] Install re2o-services config file 2020-01-18 09:37:02 +01:00
_benjamin 71d6863758 [common-tools] Setup screen for multiuser 2020-01-17 18:06:23 +01:00
_benjamin 887a3f2e95 [scripts] Added role to clone scripts 2020-01-17 12:56:44 +01:00
Alexandre Iooss 4f7d3a6a82
Also use na or ng as label in metrics 2020-01-14 22:15:20 +01:00
Alexandre Iooss 9bb2834905
Do not care about irqbalance 2020-01-14 13:12:11 +01:00
Alexandre Iooss e7edf6ed2e
Clean up useless index metric 2020-01-13 11:13:10 +01:00
Alexandre Iooss f53b3dfa0a
Working SNMP labels 2020-01-12 15:05:11 +01:00
Alexandre Iooss d453d7a1ea
Also index unifi AP with geolocation 2020-01-12 12:15:40 +01:00
Alexandre Iooss b3446fed56
Use dashes in Unifi prometheus 2020-01-12 12:07:16 +01:00
Alexandre Iooss 5f4cc19fac
Index on EssId 2020-01-12 11:58:38 +01:00
Alexandre Iooss d32fa35d58
Remove grafana alerting 2020-01-11 14:09:38 +01:00
Alexandre Iooss a8a37cd0c3
Change grafana icon 2020-01-11 13:51:27 +01:00
Alexandre Iooss 0234348c6a
Goodbye christmas tree 2020-01-10 17:17:26 +01:00
_benjamin 3585acdc11 [zamok-tools] Install packages requested by users 2020-01-04 13:27:59 +01:00
_benjamin 17a49beb5e [common-tools] Install tmux 2020-01-04 12:48:28 +01:00
Alexandre Iooss 95f4ae7bdd
Gateau 2019-12-25 09:18:42 +01:00
_pollion 636d4f206f [facts.d/hash.fact] ansible_managed 2019-12-17 18:50:25 +01:00
_pollion acf2ab3d0f Create a fact with the hash of the latest commit of Ansible repo 2019-12-17 18:16:35 +01:00
_pollion 14948d3d54 [sshd] Disable automatic removal of stale sockets 2019-12-17 16:25:50 +01:00
_pollion 3f8cdcf29d [sshd] Enables automatic removal of stale sockets. Useful for GPG forwarding 2019-12-17 15:52:44 +01:00
_pollion 93709d3ed9 Fix ansible-CI 2019-12-17 14:23:33 +01:00
_pollion 358edefa06 Fix yamllint-CI 2019-12-17 13:38:27 +01:00
_benjamin ea6610d681 Install re2o dev_crans on otis 2019-12-17 12:45:41 +01:00
_benjamin a349437217 [re2o] install dependancies and settings_local.py 2019-12-17 10:05:15 +01:00
_benjamin bd4c72e974 [re2o] role to install re2o 2019-12-17 08:39:25 +01:00
_benjamin 3451ca8268 [ansible] clone repository 2019-12-17 08:32:54 +01:00
_benjamin 6004a9353b Install ansible on otis 2019-12-17 07:45:48 +01:00
Alexandre Iooss 90cfac86bb
Add lsscsi 2019-12-13 16:00:52 +01:00
Alexandre Iooss 12bba889a3
Monitor HP SmartArray 2019-12-13 15:19:18 +01:00
_benjamin 96a780d734 Fixed mode for systemd units 2019-12-13 14:02:04 +01:00
_benjamin 0e45384307 [zbee] Use one template for all mount files 2019-12-13 12:58:44 +01:00
_benjamin eb06620dee [zbee] Use loop 2019-12-13 10:32:08 +01:00
_benjamin f21db11185 [home-permanent] zamok-mount --> home-permanent 2019-12-13 09:40:39 +01:00
_benjamin e50ed75f1c [zbee] Mount home paritions with systemd 2019-12-13 09:26:47 +01:00
_benjamin 34bb521722 [zamok] Mount nfs with systemd 2019-12-13 08:47:17 +01:00
_benjamin 8af0597adb [ninjabot] Load and activate services 2019-12-13 08:30:13 +01:00
_benjamin b9d432bdc1 [ninjabot] Better description for webhook service 2019-12-10 11:21:20 +01:00
Alexandre Iooss 8df804feea
Create seperate playbook to clean BCFG2 stuff 2019-12-07 16:59:38 +01:00
Alexandre Iooss 561ef3db14
Colors in motd 2019-12-07 15:38:16 +01:00
_benjamin 9d4eb03aab Use tail for motd 2019-12-07 10:08:24 +01:00
_benjamin 5fa4021d0e [ninjabot] Changed motd filename 2019-12-07 10:06:53 +01:00
_benjamin f1eb12bcab [ninjabot] Added NinjaBot role 2019-12-07 09:53:00 +01:00
_benjamin 0b161f1f7a [prometheus-alertmanager] Changed webhook URL to fyre 2019-12-07 08:34:07 +01:00
Alexandre Iooss d2b4984ade
Bind grafana to :80 2019-12-07 08:18:29 +01:00
Alexandre Iooss 984c2ed859
Add gpg to common packages 2019-12-07 01:25:47 +01:00
_pollion 621986fceb Add tag to only restart prometheus-node-exporter 2019-12-04 00:33:02 +01:00
Alexandre Iooss b6be65569d
Fix prometheus-blackbox command line 2019-11-15 14:34:46 +01:00
Alexandre Iooss be2b662a3f
Collectd installs postgresql, so let it burns 2019-11-15 14:26:19 +01:00
Alexandre Iooss 5f5201ddcf
Add prometheus blackbox 2019-11-15 14:23:47 +01:00
Alexandre Iooss bb0f01f45e
Fix Ansible CI 2019-10-29 15:45:41 +01:00
Alexandre Iooss 1f3353b982
[prometheus] SNMP exporter configuration 2019-10-28 21:55:31 +01:00
Alexandre Iooss 99a34dc2a8
[prometheus] Drop Prometheus 1 compatibility 2019-10-28 21:34:41 +01:00
Alexandre Iooss f9320a5f51
Add resolvconf, remove python3-reportbug and os-prober 2019-10-28 21:28:06 +01:00
Alexandre Iooss b587abb489
nullmailer role 2019-10-28 21:26:50 +01:00
Alexandre Iooss 562372568b
Prometheus Apache exporter 2019-10-27 21:19:07 +01:00
Fardale 1642a9b45b [install_ldap] correct indentation for nsswitch.conf 2019-10-26 23:06:57 +02:00
Alexandre Iooss 32671c6ab6
[Prometheus] Portail captif InstallParty 2019-10-18 14:58:29 +02:00
Alexandre Iooss 46e2111368
[prometheus] Do not put :9100 in instance name 2019-10-13 10:43:45 +02:00
Alexandre Iooss 8294a1c8b4
Fix prometheus-node ci errors 2019-10-04 09:15:51 +02:00
Alexandre Iooss b6f2faf279
Fix CI errors 2019-10-02 20:07:50 +02:00
Alexandre Iooss 78643a163d
[prometheus-node] Use backports package 2019-10-02 08:23:50 +02:00
Alexandre Iooss a720fc6dc5
[prometheus] Cpu usage warning only if >10mn 2019-09-30 19:59:03 +02:00
Alexandre Iooss d01b9f05ee
[CI] Retry twice framadate installation 2019-08-27 08:56:49 +02:00
Alexandre Iooss 53f91dcfac
Changement des logiciels préinstallés 2019-08-25 16:09:47 +02:00
Alexandre Iooss 94aeb4e8ba
[prometheus] desactivate captive portal and comment code 2019-08-17 15:16:33 +02:00
Alexandre Iooss c0e91c4d28
[Framadate] Cannot continue without network access 2019-08-17 15:15:42 +02:00
Alexandre Iooss f0e4a5f811
It's stupid to create homedir when autofs 2019-08-14 10:01:40 +02:00
_pollion e259efcab8 Alerte de température à 25°C sur l'onduleur 2019-08-07 13:11:22 +02:00
Alexandre Iooss 8091ccb898
Autofs 2019-08-01 17:38:49 +02:00
Alexandre Iooss b7e46d8303
[common-tools] More tools 2019-07-30 12:05:38 +02:00
Alexandre Iooss dfaa2a9313
[base-security] Remove root authorized keys 2019-07-30 12:04:56 +02:00
Alexandre Iooss 47c8f27682
Add bash-completion everywhere 2019-07-29 21:40:38 +02:00
Alexandre Iooss d75dd689a6
[prometheus] Group per instance 2019-07-23 11:38:25 +02:00
Alexandre Iooss f8749d7d62
[prometheus] You're a bad spammer boy 2019-07-23 11:07:19 +02:00
Alexandre Iooss 0d33b2c40f
[prometheus-alerts] do not group for IRC chat 2019-07-22 08:51:51 +02:00
Alexandre Iooss 9729237a15
Add unifi AP to inventory and monitoring 2019-07-22 08:26:29 +02:00
Alexandre Iooss 7c715016fd
[rsyncd] Listen only on adm 2019-07-15 10:40:08 +02:00
Alexandre Iooss be88b0293c
Add ntp-client role 2019-07-15 10:23:20 +02:00
Alexandre Iooss 78fd033642
[CAS] Install deps 2019-07-15 09:36:26 +02:00
Alexandre Iooss 57405f44a3
[prometheus] Always use adm 2019-07-15 09:36:07 +02:00
Alexandre Iooss a93c453364
Add more tools such as emacs-nox 2019-07-15 09:35:43 +02:00
Alexandre Iooss 2b4c0ddfe4
Django CAS role 2019-07-11 19:07:58 +02:00
Alexandre Iooss 5cb6805b36
Remove contrib and non free from VMs 2019-07-08 22:22:35 +02:00
Alexandre Iooss 1c266d8a59
[prometheus] Fix typo in alert rule 2019-07-08 22:21:34 +02:00
Alexandre Iooss f40fdc5ba1
Fix alignement 2019-07-08 22:19:23 +02:00
Alexandre Iooss 688c1d0ca2
Add contrib and non free by default 2019-07-08 21:52:06 +02:00
_benjamin 0b4778ebfd [wireguard] Install linux-headers-amd64 2019-07-08 21:22:46 +02:00
Alexandre Iooss d422d04bd4
Restructure README and motd indications 2019-07-08 17:45:19 +02:00
Alexandre Iooss 43ef614e01
Init DHCP 2019-07-08 17:17:24 +02:00
Alexandre Iooss 36d0dbe035
passrelle.adm.crans.org is too slow 2019-07-08 17:09:48 +02:00
_benjamin dbeff436f0 [bind-authoritative] Added bind-authoritative role 2019-07-01 19:41:35 +02:00
Alexandre Iooss 56977717c1
[common-tools] Add oidentd 2019-06-23 10:48:24 +02:00
Alexandre Iooss a626ae5484
Add unifi role 2019-06-23 10:47:45 +02:00
Alexandre Iooss 440a1635fa
[common-tools] Clean ramond 2019-06-23 09:59:55 +02:00
_benjamin 7ad6b123af [bind-recursice] Added bind-recursive role 2019-06-22 21:46:12 +02:00
Alexandre Iooss d0b978098a
[prometheus] Add rules for ups 2019-06-18 10:43:36 +02:00
Alexandre Iooss 22f4fbd71f
MoinMoin automation is here, pray CransBot 2019-06-14 11:18:47 +02:00
Alexandre Iooss 8859721873
Deploy framadate from crans gitlab 2019-06-13 17:52:56 +02:00
Alexandre Iooss 77fd922311
[prometheus] Add mount point and do not spam every 3h 2019-06-13 17:35:19 +02:00
Alexandre Iooss 7de7699a19
Hello services :) 2019-06-13 17:31:37 +02:00
erdnaxe 0f6b0497c5 Merge branch 'framadate' into 'master'
Framadate playbook

See merge request nounous/ansible!10
2019-06-09 22:17:05 +00:00
Alexandre Iooss 1d05d4ce8a
Remove white space at end of file 2019-06-10 00:10:54 +02:00
Alexandre Iooss 9e9d2a1a2d
Clean up everything with esum :) 2019-06-10 00:06:21 +02:00
Alexandre Iooss c7bc8b2afd
Add APT retry 2019-06-09 17:45:56 +02:00
Alexandre Iooss c9a9d69739
Add wireguard role 2019-06-09 16:21:06 +02:00
Alexandre Iooss c274db2ab5
Monitor systemd services 2019-06-09 11:01:56 +02:00
Alexandre Iooss 17d3d0c944
[prometheus] Adapt rules to stretch 2019-06-08 22:26:41 +02:00
Alexandre Iooss 8758f5a0c7
Alert ninjabot 2019-06-08 19:08:52 +02:00
Alexandre Iooss b57ac2d922
Framadate playbook 2019-06-08 19:01:20 +02:00
Alexandre Iooss ad48d2a72a
Configure APT to use adm debian miror 2019-06-08 09:37:36 +02:00
Alexandre Iooss 86ef609693
[prometheus] Monitoring rules, Yay! 2019-06-05 08:33:50 +02:00
Alexandre Iooss 583b09ab98
[prometheus] Add Django rules 2019-06-05 08:05:20 +02:00
Alexandre Iooss b32859ecc8
[prometheus] Monitor UPS 2019-05-14 09:10:48 +02:00
Alexandre Iooss 1e922de8b0
[monitoring] Add non-free for MIBs 2019-05-13 18:23:09 +02:00
Alexandre Iooss 4bab036827
Fix buster detection 2019-05-13 18:07:40 +02:00
Alexandre Iooss 322a1e8dd6
[common-tools] Add some common software 2019-05-13 18:06:51 +02:00
Alexandre Iooss 844c485bba
[prometheus] Install snmp export 2019-05-13 12:36:03 +02:00
Alexandre Iooss 78e1e38b7b
[Prometheus] Listen on adm only when buster 2019-05-12 18:35:19 +02:00
Alexandre Iooss f30e5c9f21
[Prometheus] Update to 2.x 2019-05-12 18:34:51 +02:00
Alexandre Iooss 528e443d67
Fix alertmanager mails 2019-04-26 10:59:13 +02:00
Alexandre Iooss de63fbb99e
[monitoring] Prometheus Alertmanager 2019-04-25 18:30:13 +02:00
Alexandre Iooss fbfa8c7204
[backup] Implement rsyncd 2019-04-22 13:19:24 +02:00
Alexandre Iooss 5612ee94b7
[base] Remove rsync 2019-04-22 13:09:02 +02:00
Alexandre Iooss b57f048740
[base] Fix trailing line 2019-04-22 12:13:21 +02:00
Alexandre Iooss 30934b7941
[base] Deploy basic packages 2019-04-22 12:10:58 +02:00
Alexandre Iooss d51db7568f
[grafana] Working grafana with LDAP groups 2019-04-21 19:14:16 +02:00
Alexandre Iooss fe2061810c
[grafana] Fix missing retry 2019-04-20 23:15:28 +02:00
Alexandre Iooss 8c7d6c3daa
[grafana] Initial role 2019-04-20 23:11:22 +02:00
Alexandre Iooss 528da73d8d
Make node updating dynamic in Prometheus 2019-04-18 15:01:24 +02:00
Alexandre (erdnaxe) 7ee06b0e83 Merge branch 'node-exporter' into 'master'
Déploiement du node-exporter sur presques tout les serveurs

See merge request nounous/ansible!2
2019-04-18 12:15:12 +00:00
Alexandre Iooss c6ec15d569
Remove sudo part of LDAP role 2019-04-18 13:26:05 +02:00
grizzly 932e2e6858
Minors changes for practicality 2019-04-16 22:28:05 +02:00
grizzly 2bb99d370f Déploiement du node-exporter sur presques tout les serveurs 2019-04-15 12:27:07 +02:00
grizzly 8c322d2d3a
jout des variables crans et divers 2019-04-14 12:34:47 +02:00
Alexandre Iooss ec238c1abb
Crans adpatation 2019-04-14 11:05:02 +02:00
Alexandre Iooss 5564f48e0d
For the CI 2019-04-14 09:10:48 +02:00
Alexandre Iooss 8b7f6cba14
Initial LDAP client role 2019-04-14 09:07:20 +02:00
Alexandre Iooss a6c1c2aab5
Remove trailing space 2019-04-13 14:11:00 +02:00
Alexandre Iooss f2aff657e4
For the CI 2019-04-13 12:09:38 +02:00
grizzly 363556e6e2 Create the task and add the host for prometheus 2019-04-13 12:03:03 +02:00