c7baba441f
switchs: Add EDC access point
2025-10-09 21:01:43 +02:00
korenstin
f274a515a9
dns: log-{1,2} & pve
2025-10-09 19:14:53 +02:00
korenstin
b7c1b86056
grafana-ng: configuration firewall, dns, caddy
2025-10-07 08:47:55 +02:00
1deba6ebf8
switchs: Improve naming of sw-ec-1
2025-10-05 16:13:05 +02:00
8f600c8ec5
Room 267 borne ajout
2025-10-02 23:30:29 +02:00
korenstin
4cf5d4ee1f
prometheus: monitoring jitsi-ng
2025-09-30 23:00:48 +02:00
2d2177bd25
switchs: Improve defaults + Add sw-ec-1
2025-09-30 21:55:34 +02:00
adbd4d5782
dns + firewall: Add jitsi
2025-09-30 21:54:26 +02:00
korenstin
96e4bf88bf
Switch sw-f* pas check
2025-09-30 20:17:33 +02:00
korenstin
1c1ba4cd84
Switch sw-ec-* et sw-r* check
2025-09-30 20:16:26 +02:00
b4a67dd645
dns: Add tor + firewall: Allow ntp + SSH
2025-09-25 20:55:08 +02:00
b184ce96dc
Merge branch 'new-infra' of gitea.auro.re:aurore/ansible into new-infra
2025-09-09 08:05:13 +02:00
a16164d68b
Misc
2025-09-09 08:04:46 +02:00
1ec2cf8770
dns: Add tor.pub.infra.auro.re
2025-09-08 09:20:36 +02:00
9a730f7dd9
dns: Remove grocy-bric + Add lafeychine.adh
2025-09-05 11:25:23 +02:00
0ade5a4be1
Merge pull request 'switch_rest' ( #107 ) from switch_rest into new-infra
...
Reviewed-on: #107
2025-08-28 21:39:59 +02:00
korenstin
ef456e3ea2
Remove switch-dev and update ntp
2025-08-28 21:31:26 +02:00
korenstin
b74cf3faea
Add example and typo
2025-08-14 21:37:50 +02:00
korenstin
ec13538cb7
Switch: creation of a module to configure the switchs with Ansible.
2025-08-08 20:24:51 +02:00
korenstin
9c3dc75323
Remove pacaterie
2025-08-08 10:59:02 +02:00
korenstin
44b36b16c5
On enlève radius-fleming de la surveillance, il est down de toute façon (cf df420920fc
)
2025-08-08 01:24:20 +02:00
korenstin
d93dee83f0
Config backup/prune zfs
2025-08-08 00:28:34 +02:00
953b29c51d
Retrait de chapalux des hosts
2025-08-08 00:24:51 +02:00
59c0fda15b
Ajout de ZFS-backup
2025-06-26 22:08:46 +02:00
bc38574a07
prom: increase ilo timeout + retries
2025-01-02 15:37:59 +01:00
19ad151e92
prom: add compaq mibs
2025-01-02 15:37:40 +01:00
c4b14cb447
fix mac address for ns-3.ovh.infra
2025-01-02 15:08:31 +01:00
c5cc75e826
prom: increase scrape_interval for quanta targets
2025-01-02 15:08:03 +01:00
4ae69ceb89
prom: minimal monitoring of ilos
2025-01-02 15:07:23 +01:00
7119715720
chronyd: replace ipaddr with ansible.utils.ipaddr
2025-01-01 14:16:44 +01:00
13c517387d
playbooks: add pve_network to some playbooks
2025-01-01 14:16:09 +01:00
1d38cb9943
dns: add various hosts
2025-01-01 14:15:25 +01:00
3b1ae6206f
misc: dns + locales + pve + …
2024-06-22 20:27:15 +02:00
81f95aa14d
collabora: misc
2024-05-19 16:30:50 +02:00
708781b722
collabora: migrate to new infra
2024-05-19 15:26:16 +02:00
0782695471
misc: misc
2024-05-19 13:59:17 +02:00
1e1783fd59
caddy: add email addr
2024-05-02 22:43:25 +02:00
4d0f820df0
Merge branch 'new-infra' of gitea.auro.re:aurore/ansible into new-infra
2024-05-02 22:40:45 +02:00
48c4ecafae
WIP: caddy: add support for error msg
2024-05-02 22:40:26 +02:00
9aaa619173
chore(bird): Improve code readability
2024-04-01 00:20:41 +02:00
54d227232b
chore(bird): Fix None flag
2024-04-01 00:13:22 +02:00
ba033f9099
feat(bird): Add net.match
2024-04-01 00:06:05 +02:00
8d0139925e
feat(bird): Add as_path.{contains,len}, net.len
2024-03-31 18:12:38 +02:00
7f9ccf3e59
chore(black): Add configuration file (line-limit)
2024-03-31 16:12:51 +02:00
4f18b6c8ef
relax temperature alert for quanta switch
2024-03-10 12:04:00 +01:00
004a033606
Merge branch 'new-infra' of gitea.auro.re:aurore/ansible into new-infra
2024-03-09 20:18:43 +01:00
d20c89defe
WIP: caddy: very early role
2024-03-09 20:18:12 +01:00
97496ef4b8
path security issue (getting root privileges)
2024-03-09 20:09:24 +01:00
0b40cc4b9b
configure timeout on snmp scraping for quanta
2024-03-09 19:35:38 +01:00
66e6c960d3
misc
2024-03-09 12:13:19 +01:00
a004555681
Merge pull request 'collabora' ( #106 ) from collabora into new-infra
...
Reviewed-on: #106
2024-02-24 19:34:24 +01:00
7fe391c16f
grafana: minor fixes again again again !!!!
2024-02-24 18:55:10 +01:00
e660d8688a
grafana: minor fixes again again !!!!
2024-02-24 14:32:51 +01:00
e5e6dd8056
grafana: minor fixes again
2024-02-24 14:28:08 +01:00
67b29517e2
grafana: i am dumb
2024-02-24 14:06:17 +01:00
b141a1d955
grafana: minor fixes
2024-02-24 13:16:19 +01:00
f70e515769
collabora: minor fixes
2024-02-20 20:44:57 +01:00
806fa25b06
Initial config of collabora
2024-02-17 12:45:33 +01:00
00dcf27614
Merge branch 'new-infra' of gitea.auro.re:aurore/ansible into new-infra
2024-01-28 19:33:04 +01:00
029b001f9b
misc: add collabora.pub
2024-01-28 19:30:51 +01:00
39119a4ffa
feat(mail): Add dovecot configuration
2023-12-17 18:08:54 +01:00
10087b354b
feat(mail): Add postfix configuration
2023-12-17 17:30:28 +01:00
3f02039de1
base_utils: add some useful utils
2023-12-17 15:47:45 +01:00
91d3087047
WIP: misc: test infrastructure for mail
2023-12-17 15:47:06 +01:00
887aadb5fe
misc: WIP: vpn again
2023-11-07 06:07:48 +01:00
02910a8fc0
misc: WIP: vpn
2023-11-07 04:11:28 +01:00
061b6f1049
prometheus_snmp: WIP: lldp
2023-11-06 22:07:06 +01:00
94ba30cc3b
prometheus: remove redundant '%' symbols
2023-11-06 22:05:53 +01:00
934137903a
misc: move some plugins to roles
2023-11-06 22:05:06 +01:00
8359d2ebea
prometheus: Add LLDP for quanta
2023-11-04 23:26:10 +01:00
5c8358ec95
bird: add rr client/cluster id option
2023-11-04 21:43:32 +01:00
261ccfeb5c
WIP: misc: add eaton ups
2023-11-04 21:36:27 +01:00
9eb5793b38
prometheus: fix quanta temp alert queries
2023-11-04 14:02:06 +01:00
68f36ae048
prometheus: filter out outtake quanta sensors
2023-11-04 13:49:52 +01:00
c2f2c03af6
prometheus: use humanize/humanizePercentage
2023-11-04 13:33:06 +01:00
19953b2951
misc: add ff-3.core.sw
2023-11-04 13:23:47 +01:00
3864b641eb
prometheus: cleanup bird alerts
2023-11-03 20:52:12 +01:00
c4744e9ab6
prometheus: fix typo
2023-11-03 20:51:49 +01:00
98f122bb69
prometheus: lower changes threshold for keepalived alerts
2023-11-03 20:51:17 +01:00
41852b4ab8
prometheus: add keep_firing_for for QuantaTemp
2023-11-03 20:50:56 +01:00
a61c997366
prometheus: monitor link usage for switches
2023-11-03 20:50:34 +01:00
3e16224213
misc: add more quanta switches
2023-11-03 20:50:09 +01:00
136dcb693f
misc: add r3-1.core.sw
2023-11-02 22:22:32 +01:00
db7729b3cb
prometheus_snmp: set type of ifType
2023-11-02 22:22:14 +01:00
6949cc202f
firewall: allow monit → prometheus-bird-exporter on infra
2023-11-02 21:32:32 +01:00
83ff27b856
misc: add ec-1.core.sw
2023-11-02 21:32:11 +01:00
16a0d95936
prometheus: refactoring of the config
2023-11-02 20:27:45 +01:00
2928d7e809
misc: infra: edge bgp session
2023-11-02 17:55:52 +01:00
071d82529d
misc: edge: oti vip
2023-11-02 17:55:07 +01:00
f9f278cb65
prometheus: temporarily disable alerts for rezel, vr & isp
2023-11-02 06:15:47 +01:00
4c61d2bc18
prometheus: add bird bgp import alert rules
2023-11-02 06:11:32 +01:00
3fa998ae68
prometheus: cleanup + bird alert rules
2023-11-02 05:53:02 +01:00
071daad994
prometheus_snmp: retype if(Admin|Oper)Status
2023-11-02 00:37:43 +01:00
fc7f59b231
misc: various monitoring changes
2023-11-02 00:25:35 +01:00
9e483d5285
prometheus: add quanta alerts
2023-11-01 18:56:44 +01:00
4c33b77695
Merge branch 'new-infra' of gitea.auro.re:aurore/ansible into new-infra
2023-11-01 18:46:26 +01:00
5e5d2268f3
prometheus_snmp: add various overrides
2023-11-01 18:45:53 +01:00
51674bc1f6
prometheus_snmp: Add alerts on Quanta system
2023-11-01 18:43:32 +01:00
190f31dffd
misc: add gk-1.core.sw
2023-11-01 17:51:29 +01:00
a00a9b123f
prometheus_snmp: set snChasPwrSupplyOperStatus type
2023-11-01 17:14:07 +01:00
9524f29d1f
prometheus_snmp: change snChasFanOperStatus type
2023-11-01 17:00:02 +01:00
14b1f47842
prometheus_snmp: remove snNTP
2023-11-01 16:43:50 +01:00
229a6617de
prometheus: add queue overflow quanta alert
2023-11-01 07:11:30 +01:00
69701f4875
prometheus_snmp: remove index on pwr + add snAgentTemp
2023-11-01 06:41:31 +01:00
6728d2bb00
prometheus_snmp: add snChasPwr and snNTP
2023-11-01 06:30:47 +01:00
be261ab257
prometheus_snmp: add snChasFan
2023-11-01 06:11:27 +01:00
13f22bc7b8
Merge branch 'new-infra' of gitea.auro.re:aurore/ansible into new-infra
2023-11-01 05:58:29 +01:00
2e2e4995ed
misc: prometheus_snmp + various minor fixes
2023-11-01 05:57:21 +01:00
7d58a98bb4
unattended_upgrades: remove codename in origins-pattern
2023-10-03 14:28:20 +02:00
45d380c641
unattended_upgrades: migration
2023-10-03 14:09:48 +02:00
35cdf782c8
wip: bird: misc
2023-09-18 17:15:57 +02:00
fbdeddfc72
misc: move variables to {host,group}_vars
2023-09-17 20:32:05 +02:00
17b46bab5e
firewall: add default value for file based zones
2023-09-17 20:30:09 +02:00
93bccaddfd
quemu_guest: add role + playbook
2023-09-16 02:30:17 +02:00
ddc0597e2a
nftables: remove old role + playbook
2023-09-16 01:57:35 +02:00
fa87d9789d
wip: misc: setup infra-2
2023-09-16 01:52:35 +02:00
078d9a3de9
wip: misc: setup infra-1
2023-09-16 01:24:01 +02:00
e87de918db
keepalived: add blackhole routes
2023-09-11 13:28:27 +02:00
14288224b4
keepalived: add vroute for infra-*:ext0
2023-09-11 11:16:02 +02:00
0e581e7d23
update interface on infra-{1,2}
2023-09-11 03:14:57 +02:00
175e375682
firewall: add role + playbook
2023-09-11 01:58:32 +02:00
cb6ef5dae0
add oti and vpn interfaces
2023-09-07 17:28:05 +02:00
15dda43f21
WIP: readressing + wireguard
2023-07-05 01:25:25 +02:00
1a63ba3bea
add vpn-1
2023-07-05 01:23:21 +02:00
75f0ee785b
bird: param bird__bgp_sessions is now a dict
2023-07-05 01:20:47 +02:00
9de88d0a28
ifupdown2: improve wireguard support
...
- add prio to ensure idempotency when reloading the iface
- add proto to ease route filtering in bird
2023-07-05 01:18:52 +02:00
655f744a11
ifupdown2: wireguard + routing tables support
2023-07-04 04:05:31 +02:00
0c7b5a2c68
openssh: cleanup playblook + role
2023-07-04 04:04:48 +02:00
e0c95b8f10
iproute2: create role + playbook
2023-07-04 03:45:29 +02:00
058fe0b3f5
freeradius: fix vlan logging
2023-07-02 21:56:37 +02:00
2f4c6a53d8
freeradius: fallback to default vlan whem proxying to federez
2023-07-02 21:26:02 +02:00
ddd8c6dcc0
freeradius: fixes + minimal support for federez
2023-07-02 20:51:42 +02:00
2c64d27fd3
freeradius: add vlan support
2023-07-02 16:45:32 +02:00
b3d18e92b6
freeradius: rewrite *-Station-Id and log SSID
2023-06-25 19:49:12 +02:00
ace765b682
freeradius: user domain is optional
2023-06-25 19:33:33 +02:00
ca1c6c8040
freeradius: remove some modules
2023-06-25 19:33:16 +02:00
f8b932014f
freeradius: improve logging robustness
2023-06-25 19:25:50 +02:00
a5b527ec0e
freeradius: add logging
2023-06-25 00:27:08 +02:00
20bce8a0da
pve: add loutr
2023-06-24 17:25:40 +02:00
4a5b3bbfde
Merge branch 'radius' into new-infra
2023-06-22 17:39:00 +02:00
4a9c0e6d8e
bird: add rezel
2023-06-22 17:30:37 +02:00
aa1e422c58
ifupdown2: add rezel addrs
2023-06-22 17:30:17 +02:00
455a0bdc2a
prometheus: temporarily disable BirdProtocolDown
2023-06-22 17:29:16 +02:00
452066fcfb
pve: add pz2891
2023-04-15 17:13:08 +02:00
669c7ec801
resolvconf: add dns-2
2023-04-08 00:54:33 +02:00
d455bbe00e
kresd + prometheus: monitor kresd
2023-04-08 00:54:13 +02:00
6522a6f076
ansible.cfg: retry SSH connections
2023-04-07 08:57:29 +02:00
5391f2b956
all: update playbook
2023-04-07 08:57:20 +02:00
bbaab0b767
pve_auth: disable root user
2023-04-06 18:22:37 +02:00
676dabd76b
pve: configure users
2023-04-06 00:01:21 +02:00
1978f12794
pve_auth: fix groups + enabled
2023-04-05 23:27:11 +02:00
8f51a2fb80
pve_auth: create role
2023-04-05 22:06:50 +02:00
32ed73735f
pve_activate: add role
2023-04-05 00:19:04 +02:00
4ad25f7057
hostname: add role
2023-04-05 00:18:41 +02:00
454f1d75cb
rename rtr → back
2023-04-05 00:18:25 +02:00
cc1786eb2b
backbone → back + ap → wifi
2023-04-04 01:33:16 +02:00
8bf1f1a1fa
keepalived: add dbus support
2023-04-04 01:32:52 +02:00
dcd56413e8
prometheus: monitor keepalived
2023-04-04 01:29:13 +02:00
e160b98f0e
prometheus_node: collect textfiles
2023-04-04 01:28:51 +02:00
94953e1aa7
snmpd: remove role
2023-04-04 01:28:09 +02:00
833d25078d
prometheus_keepalived: add role
2023-04-04 01:27:26 +02:00
8b5d587f26
keepalived: add snmp support
2023-04-03 18:02:49 +02:00
6ee7a19f21
snmpd: create role
2023-04-02 14:25:09 +02:00
0807dc1d70
prometheus-bird-role → dedicated role + various alerts
2023-04-02 13:25:03 +02:00
922b6894a7
prometheus: cleanup role (lots of features missing)
2023-04-02 05:08:01 +02:00
7db15d9c63
prometheus_node: cleanup
2023-04-01 22:32:42 +02:00
b4fe111c91
knotd: add vote + gisti :)
2023-04-01 21:54:44 +02:00
67ac2a7618
rename hyperv → pve + backbone → back
2023-04-01 21:53:48 +02:00
fcb9ac9d17
rename interfaces
2023-03-28 20:36:46 +02:00
9e24c5373e
root_account: set PS1 statically
2023-03-28 20:35:24 +02:00
b36dd15d3c
rename interfaces + fix fallback
2023-03-27 21:51:07 +02:00
a2e181493d
systemd_link: rename interfaces
2023-03-27 13:09:58 +02:00
71befe1b44
ifupdown2: remove useless forward directives
2023-03-27 11:57:58 +02:00
9c41558d62
ip_forward: create role + playbook
2023-03-27 11:56:17 +02:00
66a015c135
migrate again
2023-03-26 19:02:18 +02:00
eb8368b2e6
migrate edge routers (routeur-aurore.adm -> edge-{1,2}.rtr)
2023-03-26 17:06:34 +02:00
67f0e4ccbc
changed ip
2023-03-25 19:20:26 +01:00
f3d67e93b4
ifupdown2: add ens23 & enp2s1
2023-03-25 17:56:19 +01:00
45f5920cdd
corrected error
2023-03-25 17:48:40 +01:00
3294cde7a6
added ens20 adresses for later testing
2023-03-25 17:47:03 +01:00
6eeb578d89
bird: more filtering
2023-01-13 10:50:23 +01:00
8b39a7f7dc
filter_plugins: remove soft_unicode import
2023-01-13 09:59:40 +01:00
dcc038bd7c
nftables + bird: add role + fix IP addresses
2023-01-13 08:56:16 +01:00
0a621b53b4
keepalived: set keepalived_main
2023-01-13 08:55:17 +01:00
8ec059ce55
root_account: add alias for bridge
2023-01-13 08:54:57 +01:00
621f39a8f2
base_utils: add tcpdump + tmux
2023-01-13 08:54:38 +01:00
f579e08e21
keepalived: change priorities
2023-01-13 08:53:56 +01:00
48deabba50
bird + ifupdown2: fix IP addrs + iBGP for isp-{1,2}
2023-01-07 09:12:44 +01:00
9f850aa4da
add format_rev plugin
2023-01-07 08:59:16 +01:00
1aba1e5606
dhcpd: remove dhcpd__failover_peer
2023-01-07 08:56:12 +01:00
6d66e56b15
bird: filter by proto (ugly)
2023-01-07 08:53:44 +01:00
e7c3a9c771
ansible: use 'debug' stdout_callback
2023-01-07 08:52:46 +01:00
5eff05f8c5
keepalived + bird: fix IP addrs + OSPF
2023-01-07 03:19:40 +01:00
eca5d1563d
dhcpd: add new VMs
2023-01-07 02:42:18 +01:00
c32b949d04
Merge branch 'dhcp' into new-infra
2023-01-07 02:26:35 +01:00
19c623ab0a
Add config for new VMs
2023-01-07 02:25:53 +01:00
7c21275a11
Merge branch 'bird' into new-infra
2023-01-04 08:05:04 +01:00
95c812b101
root_account: add ip alias
2023-01-04 08:04:51 +01:00
830e5b103d
kresd: add dns-{1,2}
2023-01-04 08:04:36 +01:00
873b5cc6f5
knotd: add network-{1,2} hosts
2023-01-04 08:04:08 +01:00
e995b06ea9
chronyd: add ntp-{1,2}
2023-01-04 08:03:52 +01:00
34b67791bd
Add network-{1,2} hosts
2023-01-04 08:03:28 +01:00
9c19e41afd
Simplify ansible_managed
2023-01-04 08:03:09 +01:00
5c17bc9664
WIP: playbooks: OSPF config for infra-{1,2}
2022-12-22 15:56:52 +01:00
d653432d18
playbooks: add infra-{1,2}.rtr
2022-12-22 15:45:07 +01:00
5a43708a87
playbooks: add infra-{1,2}.rtr
2022-12-22 15:17:00 +01:00
9cd983aa4c
playbooks: add edge-{1,2}.rtr.infra.auro.re
2022-12-22 14:40:53 +01:00
0a0fc8e52c
bird: typos
2022-12-22 13:12:24 +01:00
2db69a8f1c
bird: return -> accept/reject
2022-12-22 12:35:32 +01:00
ac9947c50f
bird: function -> filter
2022-12-22 12:12:01 +01:00
6773c5e90d
bird: cleanup + bogons filtering
2022-12-22 12:02:56 +01:00
cc82841560
bird: typos
2022-12-22 11:00:37 +01:00
b9fb9f377f
bird: remove unused OSPF protocol instances
2022-12-22 10:50:51 +01:00
f43775fc02
bird: don't export static routes to kernel
2022-12-22 10:48:52 +01:00
412a63dc6c
playbooks: add edge-{1,2}
2022-12-21 21:02:12 +01:00
a670cbaba4
bird: typos
2022-12-21 21:01:47 +01:00
ea78f609b5
bird: indent with spaces
2022-12-21 19:53:40 +01:00
aac9151280
bird: restart prometheus-bird-exporter
...
reload is not supported by the service
2022-12-21 19:49:46 +01:00
1c47ccc4a8
bird: install prometheus-bird-exporter
2022-12-21 19:48:22 +01:00
64dcb4b282
bird: add suffix filter
2022-12-21 18:50:05 +01:00
99ba67f074
bird: add IPv6 support
2022-12-21 18:43:00 +01:00
618cad720a
bird: add OSPF stubnet support
2022-12-21 16:51:43 +01:00
8863eed924
bird: add minimal BGP support
2022-12-21 16:39:28 +01:00
0254b82356
Add edge-{1,2}
2022-10-07 21:34:58 +02:00
d0175e961e
knotd: add services-{1..3}.pve.infra (+ CNAME pve)
2022-09-28 14:11:56 +02:00
e13e450a1f
Disable some unused modules
2022-09-23 12:47:07 +02:00
a15a05ce69
resolvconf: add defaults
2022-09-04 07:42:57 +02:00
45ca2a3236
keepalived: change global VIP + interface for VRRP adv.
2022-09-04 07:41:17 +02:00
b0e12b19f8
bird: prevent duplicate rules
2022-09-04 07:40:51 +02:00
61cdb980ea
keepalived: add minimal support for virtual_routes
2022-09-03 14:09:37 +02:00
c7d7320367
ifupdown2: configure isp-{1,2}.rtr interfaces
2022-09-03 04:06:48 +02:00
866f175ed2
bird: add role + playbook, with support for OSPF + RAdv
2022-09-03 04:06:39 +02:00
c4e9ecacd7
freeradius: disable chase_referal + rebind
2022-09-01 22:28:11 +02:00
2d6ee91f93
freeradius: support for EAP-TTLS/PAP and EAP-PEAP/GTC
2022-09-01 17:35:22 +02:00
e99f183743
knotd: replace A/AAAA to CNAME for pz28.adh
...
Temporary fix until a dynamic DNS service is available.
2022-09-01 13:45:40 +02:00
231c3aac09
freeradius: remove trailing whitespace
2022-09-01 08:19:15 +02:00
3f29960a04
freeradius: explicitly disable OCSP
2022-09-01 08:18:39 +02:00
67994d988b
freeradius: disable detail + detail.log modules
2022-09-01 03:42:33 +02:00
ea843e2f47
freeradius: minimal config for attr_filter
2022-09-01 03:42:24 +02:00
c6afab5728
freeradius: add eap_inner module
2022-09-01 02:21:12 +02:00
553b371797
ifupdown2: configure radius-1.isp
2022-08-31 10:16:06 +02:00
a816fb1f01
freeradius: add support for sites
2022-08-31 05:04:19 +02:00
4bd54fe371
freeradius: remove more unused files
2022-08-31 04:54:20 +02:00
8f27164c17
freeradius: include clients.conf
2022-08-31 04:54:00 +02:00
8937e4f8e8
freeradius: fix clients.conf (ipv4addr + ipv6addr)
2022-08-31 04:53:37 +02:00
3d6e0f21b6
freeradius: configure eap module + remove more modules
2022-08-31 03:44:20 +02:00
953403d0b3
freeradius: create minimal role + playbook
2022-08-31 02:01:41 +02:00
5a7c8b280d
Merge branch 'master' into dns
2022-08-30 13:54:54 +02:00
2e10714a79
Merge pull request 'NTP: simple fixes (logdir + local stratum + logchange support)' ( #101 ) from ntp into master
...
Reviewed-on: #101
2022-08-30 13:50:35 +02:00
8f452c76aa
Add radius-1.isp
2022-08-30 13:48:17 +02:00
9b5e1d78fa
Merge pull request 'Configure keepalived' ( #100 ) from keepalived into master
...
Reviewed-on: #100
2022-08-30 13:44:24 +02:00
e86b17094b
keepalived: print link-local VIP first + silence priority warning
2022-08-27 13:47:08 +02:00
1d40950604
keepalived: add IPv6 support in playbook
2022-08-27 13:17:35 +02:00
9820ae62e8
keepalived: better support for notify scripts
2022-08-27 12:55:53 +02:00
c6ac61aa53
keepalived: add minimal support for keepalived
2022-08-27 11:15:18 +02:00
a505441f4d
hosts: add dhcp-{1,2}
2022-08-27 10:43:19 +02:00
b894959c91
dhcpd: add sample playbook
2022-08-27 10:37:56 +02:00
204ad7f2ce
Merge branch 'master' into dhcp
2022-08-27 10:26:39 +02:00
7daa55ef98
Merge pull request 'Bridge and VLAN support for ifupdown2' ( #99 ) from ifupdown2 into master
...
Reviewed-on: #99
2022-08-27 10:26:28 +02:00
8cc6e916b7
ifupdown2: add sample playbook
2022-08-27 10:21:04 +02:00
34b0ed5478
ifupdown2: add ipv6_addrgen option
2022-08-27 09:53:41 +02:00
5485254c47
ifupdown2: add forward option
2022-08-27 09:28:07 +02:00
d5b0fd85c8
ifupdown2: add bridge_disable_pvid option
2022-08-27 09:18:16 +02:00
f6b12fd696
ifupdown2: add minimal support for bridges
2022-08-27 08:31:42 +02:00
76f76a0ca4
ntp: add logdir + local + logchange support
2022-08-27 06:52:38 +02:00
138ffd6097
knotd: add isp-2.rtr
2022-08-27 05:33:54 +02:00
526eaf84d2
knotd: add isp-1.rtr
2022-08-27 05:17:43 +02:00
ec01fbde95
hosts: add ns-1.auro.re
2022-08-27 05:15:16 +02:00
8bcc0af539
Merge pull request 'Configure /etc/network/interfaces and /etc/resolv.conf using Ansible' ( #98 ) from ifupdown2 into master
...
Reviewed-on: #98
2022-08-27 04:55:26 +02:00
f723c3e1a4
ifupdown2: notify ifup -a + auto instead of allow-hotplug
2022-08-27 04:46:16 +02:00
1281a6a51a
ifupdown2: add playbook
2022-08-27 04:26:14 +02:00
15e2db49f3
add remove_domain_suffix filter
2022-08-27 04:22:15 +02:00
5ae7126ce2
ifupdown2: add support for stanzas with no gateway
2022-08-27 04:10:11 +02:00
a5a4d28ccc
ifupdown2: simple interfaces file configuration
2022-08-26 20:52:23 +02:00
e26d5dfc27
resolvconf: add role
2022-08-26 19:11:40 +02:00
3d2ce8f79f
ifupdown2: add minimal role
2022-08-26 10:13:37 +02:00
35087971c3
kresd: increase amount of cache
2022-08-26 10:00:04 +02:00
2ff44c58b7
add requirements.txt
2022-08-26 02:23:01 +02:00
9fc0aa1fe8
kresd: create role + playbook
2022-08-26 02:01:12 +02:00
cdc68cedd5
knotd: add dns-1.int
2022-08-26 01:51:33 +02:00
a29a205576
Merge pull request 'NTP: deploy everywhere' ( #97 ) from ntp into master
...
Reviewed-on: #97
2022-08-26 00:07:57 +02:00
f5f570f635
chronyd: deploy everywhere
2022-08-26 00:06:25 +02:00
b00d5bc09e
chronyd: fix unit name + remove other ntp packages
2022-08-25 23:51:57 +02:00
4b2868783f
chronyd: fix typo in chrony.conf.j2
2022-08-25 23:51:09 +02:00
3830022279
Merge pull request 'NTP server' ( #96 ) from ntp into master
...
Reviewed-on: #96
2022-08-25 23:16:46 +02:00
d2c1b1c07a
chronyd: add role + playbook
2022-08-25 23:01:00 +02:00
69dc3052ab
Merge branch 'master' into ntp
2022-08-25 22:21:49 +02:00
dbe9dbdc27
Add ntp-1.int
2022-08-25 22:21:38 +02:00
50b0e023dc
Add ntp-1.int
2022-08-25 20:52:48 +02:00
3216307404
Add pz28.adh.auro.re
2022-08-25 20:44:06 +02:00
1938cc24da
isc_dhcp_server: remove old role
2022-08-20 19:34:54 +02:00
874f75d47d
dns_zone: add requirements.txt
2022-08-20 19:09:35 +02:00
4d82018f62
knotd + hosts: add ldap-1
2022-08-20 19:08:33 +02:00
69c3949ef8
dhcpd: add support for failover
2022-08-20 16:53:10 +02:00
6bb2bbb54f
dhcpd: create role with support for DHCPv4 only
2022-08-20 16:08:25 +02:00
d5ab886dd4
dns_zone: add support for diff and check modes
2022-08-20 04:34:47 +02:00
426296d8bd
knotd: fix typo
2022-08-20 04:34:28 +02:00
2389367582
playbooks: add isp.auro.re
2022-08-20 00:06:01 +02:00
c1833e77b3
playbooks: various fixes for knotd.yml
2022-08-19 21:50:43 +02:00
4446c2c47e
dns_zone: do not relativize zone file
2022-08-19 21:50:15 +02:00
8d92035a81
playbooks: add adh.auro.re
2022-08-19 15:54:03 +02:00
6f32c9bc2c
knotd: do not try to load zone file of slave zones
2022-08-19 15:52:06 +02:00
5542e63d14
add filter_plugins path in ansible.cfg
2022-08-19 05:06:59 +02:00
b34c232904
playbooks: WIP: add knotd playbook
2022-08-19 05:03:19 +02:00
5740b64b1e
hosts: add ns-{1,2,master} to inventory
2022-08-19 05:03:19 +02:00
bb2590358d
vault: add TSIG keys
2022-08-19 05:03:18 +02:00
c775a48ca8
net_utils: add miscellaneous Jinja2 filters
2022-08-19 05:03:07 +02:00
126d0f49df
dns_zone + knotd: add 'reverse_hosts' option
2022-08-19 04:44:49 +02:00
4a29c317a5
knotd: hide version in chaos txt
2022-08-18 21:24:12 +02:00
e36e31d18b
remove playbooks/knot.yml
2022-08-18 21:23:48 +02:00
b1f26f2cd7
knotd: fix knotd__queryacl type
2022-08-18 19:50:35 +02:00
9f8dcecf63
dns_zone: ensure zone files are sorted
2022-08-18 16:35:16 +02:00
b9dd74af40
dns_zone + knot: rename some fields + add record types
2022-08-18 16:32:56 +02:00
86277d05c2
knotd: add knotd__soa_rname variable
2022-08-18 03:59:43 +02:00
642b3eb801
knotd: use human times for SOA fields
2022-08-18 03:47:59 +02:00
2744b3b512
dns_zone: make rname relative to zone origin
2022-08-18 03:47:23 +02:00
f321b12d2f
knotd: add queryacl support
2022-08-18 01:35:35 +02:00
43693c2fc8
dns_zone: bug: replace generator with set
2022-08-18 01:33:52 +02:00
961a2f1105
Add knotd role
2022-08-17 19:00:07 +02:00
11939a6032
Add library path in ansible.cfg
2022-08-17 18:59:40 +02:00
4dbe0e562d
dns_zone: cleanup + hosts + product
2022-08-17 18:23:47 +02:00
c97dca8fa8
Add library/dns_zone.py
2022-08-16 20:13:25 +02:00
5c780ffa62
Remove copy-keys.sh
2022-05-22 18:57:17 +02:00
765d24685e
Set ask_vault_pass in ansible.cfg
2022-05-22 18:56:55 +02:00
c291e836a9
Fix missing entries
2022-05-22 18:55:23 +02:00
89d0a682cf
Merge pull request 'Add dolibarr' ( #92 ) from dolibarr into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #92
2022-02-26 23:31:51 +01:00
2a2702c6ca
Add dolibarr.srv.auro.re + PostgreSQL DB
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-10 22:10:03 +01:00
4a3ba6f366
Merge pull request 'Prometheus: cleanup' ( #90 ) from prometheus_cleanup into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #90
2022-01-01 17:58:15 +01:00
Alexandre Iooss
a320907047
prometheus: fix typo
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-01 17:55:32 +01:00
Alexandre Iooss
9e4b8c2509
prometheus: remove ipmi target
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-01 17:15:11 +01:00
Alexandre Iooss
a24b473566
prometheus: reduce iLO SNMP timeout
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-01 16:45:32 +01:00
Alexandre Iooss
70c8e0ebe0
prometheus: monitor iLO resilient mem and battery
2022-01-01 16:45:10 +01:00
Alexandre Iooss
5ab3dcdac2
prometheus: use enums for iLO SNMP
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-01 12:04:01 +01:00
Alexandre Iooss
9b53daf42a
prometheus: ignore ups-ec-2.ups.auro.re
2022-01-01 12:03:51 +01:00
Alexandre Iooss
40d9108b37
prometheus: add iLO alert rules
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-31 21:26:27 +01:00
Alexandre Iooss
2830558545
prometheus_federation: add ilo_snmp and remove django
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-31 20:04:24 +01:00
Alexandre Iooss
16a2d36472
prometheus: add machines to ilo_snmp
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-31 20:03:27 +01:00
Alexandre Iooss
733e9f555d
prometheus: add _snmp suffix to ilo target
2021-12-31 20:03:04 +01:00
Alexandre Iooss
7d9ff449a7
hosts: remove passbolt
2021-12-31 19:41:51 +01:00
Alexandre Iooss
bcded46ed6
prometheus: remove JSON targets cleanup
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-31 19:40:22 +01:00
Alexandre Iooss
860a26a8dc
prometheus: federate ilo metrics
continuous-integration/drone/push Build is passing
2021-12-31 19:39:38 +01:00
Alexandre Iooss
fdeaa355ad
prometheus: use longer timeout for iLO scraping
2021-12-31 19:39:23 +01:00
Alexandre Iooss
456c6b47b8
prometheus: add missing snmp_ilo variables
2021-12-31 19:38:35 +01:00
b81af51ccf
Merge pull request 'Monitor iLO using SNMP' ( #89 ) from prometheus_ilo into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #89
Reviewed-by: jeltz <jeltz@noreply@auro.re>
2021-12-31 18:40:15 +01:00
Alexandre Iooss
8c7031d059
prometheus: add iLO SNMP target
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-31 18:31:58 +01:00
Alexandre Iooss
67064484d5
prometheus: add iLO SNMP auth information
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-31 17:27:36 +01:00
Alexandre Iooss
50d9282316
prometheus: show failing job when machine is down
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-31 17:26:26 +01:00
Alexandre Iooss
265bd5fbb7
prometheus: use static targets
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-31 15:08:44 +01:00
Alexandre Iooss
944e200394
prometheus: add ipmi job
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-31 14:45:05 +01:00
Alexandre Iooss
f50778ca96
prometheus: commit production alert configuration
2021-12-31 14:44:50 +01:00
Alexandre Iooss
bc4dc03029
prometheus: add newline at the end of targets JSON
2021-12-31 14:44:19 +01:00
Alexandre Iooss
cc2ba9ff7b
prometheus: deploy targets_ipmi.json
2021-12-31 14:43:47 +01:00
ba0be43845
Merge pull request 'vault: fix RFC2136 secret' ( #88 ) from fix_rfc2136 into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #88
2021-12-29 13:20:01 +01:00
Alexandre Iooss
d2331c18d0
vault: fix RFC2136 secret
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-29 11:28:40 +01:00
1b9fc70649
Merge branch 'bashrc_root'
continuous-integration/drone/push Build is passing
2021-12-16 05:56:57 +01:00
8dca876bbc
Add a very simple bashrc for root
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-16 05:48:39 +01:00
515222f404
Merge pull request 'Fix SSH CA deployment' ( #86 ) from use_ssh_ca into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #86
2021-12-15 17:31:29 +01:00
2f3612fd8e
Deploy SSH CA everywhere and set root password
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-15 17:15:57 +01:00
475715c5f9
Deploy on all Linux hosts
continuous-integration/drone/push Build is passing
2021-12-15 16:17:30 +01:00
7db282fffb
Fix sshd.service → ssh.service
2021-12-15 16:17:11 +01:00
1ecffc2742
Merge pull request 'Borgmatic improvements (very old changes I forgot to merge)' ( #84 ) from borgmatic_hourly into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #84
2021-12-14 08:01:16 +01:00
11937776c8
Merge branch 'master' into borgmatic_hourly
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-14 07:58:13 +01:00
79c44554a3
Merge pull request 'Deploy the SSH CA for user authentication' ( #80 ) from use_ssh_ca into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #80
Reviewed-by: erdnaxe <erdnaxe@noreply@auro.re>
2021-12-14 07:49:35 +01:00
7212154fbb
Split public SSH key into multiple lines
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Respect the 79 characters per line limit.
2021-12-12 06:08:27 +01:00
e6363e9668
Use the Users CA for authentication
continuous-integration/drone/push Build is failing
2021-12-12 05:56:54 +01:00
b3f25e2c8b
Merge pull request 'CI: use upstream ansible/toolset' ( #78 ) from ci into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #78
Reviewed-by: jeltz <jeltz@noreply@auro.re>
2021-11-28 13:22:52 +01:00
Alexandre Iooss
e0328d0294
ldap_replica: add missing space
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-11-28 13:16:38 +01:00
Alexandre Iooss
eb2abcfebe
CI: Update linter rules
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-11-28 13:13:25 +01:00
Alexandre Iooss
dd0d5dd4be
CI: use upstream ansible/toolset
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-11-28 12:42:57 +01:00
3217e33eff
Merge pull request 'Remove 'dokuwiki' role' ( #77 ) from remove_dokuwiki into master
...
continuous-integration/drone Build encountered an error
continuous-integration/drone/push Build encountered an error
Reviewed-on: #77
Reviewed-by: erdnaxe <erdnaxe@noreply@auro.re>
2021-11-28 11:20:10 +01:00
a56cea369c
Remove 'dokuwiki' role
2021-11-28 11:17:47 +01:00
2c238d17c3
Merge pull request 'cleanup passbolt and bbb' ( #76 ) from cleanup into master
...
Reviewed-on: #76
Reviewed-by: jeltz <jeltz@noreply@auro.re>
2021-11-28 11:15:46 +01:00
Alexandre Iooss
3c85a2bfb2
passbolt: remove role
2021-11-28 11:13:34 +01:00
Alexandre Iooss
cc3d5d9b7f
nginx: remove bbb.auro.re
2021-11-28 11:12:23 +01:00
a55efa8e24
Merge pull request 'postgres: fix defaults' ( #75 ) from postgres into master
...
Reviewed-on: #75
2021-11-28 11:08:00 +01:00
Alexandre Iooss
fd0cb811a7
postgres: fix defaults
2021-11-28 11:07:13 +01:00
6986588fc1
Merge pull request 'postgres cleanup' ( #74 ) from postgres into master
...
Reviewed-on: #74
Reviewed-by: jeltz <jeltz@noreply@auro.re>
2021-11-28 11:02:41 +01:00
Alexandre Iooss
45802cf65d
borgbackup: backup all postgresql databases
2021-11-28 11:01:33 +01:00
Alexandre Iooss
4bd431f9c3
postgresql: variables in dict
2021-11-28 11:01:29 +01:00
Alexandre Iooss
f0b8075ca6
postgresql: move variables in playbook
2021-11-28 10:33:42 +01:00
Alexandre Iooss
a818fd8ed9
Rename postgresql_server to postgresql
2021-11-28 10:20:17 +01:00
3c25e64516
Merge pull request 'Move playbooks in subfolder' ( #73 ) from move_playbooks into master
...
Reviewed-on: #73
2021-11-28 10:16:26 +01:00
Alexandre Iooss
40a91da78b
base: add logrotate on pve
2021-11-28 10:15:38 +01:00
Alexandre Iooss
f0631e341b
Change some comments
2021-11-28 10:08:14 +01:00
Alexandre Iooss
3ccdacde13
docker: do not deploy on stream
2021-11-28 10:05:00 +01:00
Alexandre Iooss
b6d5f4206a
ansible.cfg: typo
2021-11-28 10:04:43 +01:00
Alexandre Iooss
511091c808
Make empty playbooks run fine
2021-11-28 09:50:02 +01:00
Alexandre Iooss
b827195c32
README: require at least Ansible 2.9
2021-11-28 09:49:31 +01:00
Alexandre Iooss
4cf4ed0964
Remove sudo upgrade playbook
2021-11-28 09:04:00 +01:00
Alexandre Iooss
c49dfb24b0
Move re2o mail service in postfix playbook
2021-11-28 09:03:49 +01:00
Alexandre Iooss
747c93139b
Rename deploy_postfix_non_mailhost.yml to postfix.yml
2021-11-28 09:00:57 +01:00
Alexandre Iooss
2a9e1f4def
Rename matrix.yml to matrix-synapse.yml
2021-11-28 08:59:54 +01:00
Alexandre Iooss
9bb2d3f324
Simplify base.yml
2021-11-28 08:58:43 +01:00
Alexandre Iooss
1133f614e4
Split network.yml into each subject
2021-11-28 08:57:27 +01:00
Alexandre Iooss
446c02da5e
Split services_web.yml into nginx.yml and docker.yml
2021-11-28 08:52:58 +01:00
Alexandre Iooss
7bdf66f73a
Rename log.yml to rsyslog.yml
2021-11-28 08:51:15 +01:00
Alexandre Iooss
278928550c
Rename monitoring.yml to prometheus.yml
2021-11-28 08:49:43 +01:00
Alexandre Iooss
9481af3201
Rename bdd.yml to postgres.yml
2021-11-28 08:48:40 +01:00
Alexandre Iooss
daac91f3af
Rename backups.yml to borgbackup.yml
2021-11-28 08:46:53 +01:00
Alexandre Iooss
a0dd5ef4b7
Move playbooks in subfolder
2021-11-28 08:41:15 +01:00
de22345d79
Merge pull request 'Remove proxmox.yml' ( #72 ) from proxmox into master
...
Reviewed-on: #72
2021-11-27 22:35:56 +01:00
Alexandre Iooss
03a9281b88
Remove proxmox.yml
2021-11-27 22:34:44 +01:00
de0022e3f6
Merge pull request 'update_motd: apply conventions' ( #71 ) from update_motd into master
...
Reviewed-on: #71
2021-11-27 22:33:40 +01:00
Alexandre Iooss
cdaf3dc77a
update_motd: Fix typo in vars
2021-11-27 22:31:42 +01:00
Alexandre Iooss
5bc84dbdd2
Add sheband to backups, bdd and postfix playbooks
2021-11-27 22:22:29 +01:00
Alexandre Iooss
0979370418
Add motd for most plays
2021-11-27 22:16:29 +01:00
Alexandre Iooss
14b6a68040
base: configure motd
2021-11-27 20:05:14 +01:00
Alexandre Iooss
cc6f96bbc8
borgbackup-client: call update_motd role in play
2021-11-27 20:04:05 +01:00
Alexandre Iooss
07a0429ae0
nginx: call update_motd role in play
2021-11-27 20:02:08 +01:00
Alexandre Iooss
ce04f937db
prometheus: call update_motd role in play
2021-11-27 19:20:32 +01:00
Alexandre Iooss
1009298023
borgbackup_server: call update_motd role in play
2021-11-27 19:16:24 +01:00
Alexandre Iooss
ea394a01db
prometheus-federate: call update_motd role in play
2021-11-27 19:16:11 +01:00
Alexandre Iooss
82fdcd026e
grafana: update motd
2021-11-27 19:14:56 +01:00
Alexandre Iooss
b82afd13d9
update_motd: use update_motd dict
2021-11-27 19:14:39 +01:00
00d63cf082
Merge pull request 'Add grafana playbook and machine' ( #69 ) from grafana into master
...
Reviewed-on: #69
2021-11-27 18:34:42 +01:00
Alexandre Iooss
a791cda652
grafana: move Aurore specific variables out of the role
2021-11-27 18:29:05 +01:00
Alexandre Iooss
fdfed1a05a
grafana: remove trailing lines
2021-11-27 18:17:57 +01:00
Alexandre Iooss
e2acfd4031
grafana: single quote LDAP password
2021-11-27 18:17:57 +01:00
Alexandre Iooss
c7f94b54c8
grafana: validate gpg key
2021-11-27 18:17:57 +01:00
Alexandre Iooss
aba0370c5b
Add grafana playbook and machine
2021-11-27 18:17:57 +01:00
6bb02815e7
Merge pull request 'lint' ( #70 ) from lint into master
...
Reviewed-on: #70
2021-11-27 18:13:58 +01:00
Alexandre Iooss
a523b29ac7
Add escalope.adm.auro.re
2021-11-27 17:10:59 +01:00
Alexandre Iooss
7b82a3f7ea
Add YAML headers
2021-11-27 17:10:51 +01:00
b3838ee2a0
Merge pull request 'proxy.adm.auro.re: reverse netbox and wiki' ( #68 ) from reverseproxy into master
...
Reviewed-on: Aurore/ansible#68
2021-11-25 11:56:47 +01:00
Alexandre Iooss
7f53120966
proxy.adm.auro.re: reverse netbox and wiki
2021-11-25 11:55:01 +01:00
d23dbe2d49
Merge pull request 'pve_service' ( #67 ) from pve_service into master
...
Reviewed-on: Aurore/ansible#67
2021-11-22 18:31:59 +01:00
Alexandre Iooss
eed6ec558c
README: use passerelle.auro.re
2021-11-22 18:24:38 +01:00
Alexandre Iooss
2ac9c40579
make log.yml executable
2021-11-22 18:12:27 +01:00
Alexandre Iooss
3efc8179bc
logrotate: restore Debian formatting
2021-11-22 18:08:25 +01:00
Alexandre Iooss
3a56439fac
update_motd: remove become true
2021-11-22 18:03:09 +01:00
Alexandre Iooss
94b8f37302
rsyslog_common: remove become true
2021-11-22 18:02:53 +01:00
Alexandre Iooss
1392e3fe64
Remove cached motd
2021-11-22 18:01:21 +01:00
Alexandre Iooss
cfb891d10c
Add netbox machine
2021-11-22 18:01:11 +01:00
Alexandre Iooss
11b3738fcd
ldap_client: Add one extra line to follow Debian
2021-11-22 18:00:57 +01:00
Alexandre Iooss
b2a17e20f2
Rename stream to galene
2021-11-21 10:23:24 +01:00
Alexandre Iooss
311cfb223b
Remove defunct servers
2021-11-21 10:06:08 +01:00
Alexandre Iooss
6e77b4cb3c
Update copy-keys.sh script and SSH configuration
2021-11-21 09:40:37 +01:00
4ccd33eec1
Merge pull request 'Add syslog over TCP support' ( #66 ) from log_add_tcp into master
...
Reviewed-on: Aurore/ansible#66
2021-10-28 11:00:48 +02:00
f60795beaa
Add syslog over TCP support
2021-10-28 10:54:21 +02:00
bae87c809e
Merge pull request 'Install prometheus-node-exporter-collectors' ( #65 ) from node_exporter_bullseye into master
...
Reviewed-on: Aurore/ansible#65
2021-09-24 01:54:43 +02:00
8b54121a87
Install prometheus-node-exporter-collectors
2021-09-24 01:41:01 +02:00
4a594bf1cc
Merge pull request 'add exporter on bullseye' ( #64 ) from fix_apt_exporter_bullseye into master
...
Reviewed-on: Aurore/ansible#64
2021-09-23 19:54:35 +02:00
5d3d965112
the service does not need to be enabled
2021-09-23 19:02:26 +02:00
73e522f0c6
add exporter on bullseye
2021-09-23 18:54:06 +02:00
94a470b7f2
Merge pull request 'prometheus-rules' ( #62 ) from prometheus-rules into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#62
Reviewed-by: jeltz <jeltz@noreply@auro.re>
2021-09-08 10:15:44 +02:00
b31f9bd952
Retention time is now a file that will be copied
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-08-21 11:25:39 +02:00
cc3b4294ae
Kepp federated datas 4 months (120 days)
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-08-20 19:31:04 +02:00
f17e7f7524
Add snmp pdu password to generate config
2021-08-20 18:22:00 +02:00
0bfc631465
Remove unused files
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-08-20 17:00:19 +02:00
c5e6fbcfdf
Configuration for monitoring APC PDU
2021-08-20 16:58:28 +02:00
91fe213e02
Merge branch 'prometheus-rules' of https://gitea.auro.re/Aurore/ansible into prometheus-rules
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-08-20 13:28:38 +02:00
7ca7c27fec
Add PDU snmp credentials
2021-08-20 13:28:19 +02:00
db969625cd
Add the PDU from GS
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-08-20 12:17:17 +02:00
54b073bd02
Typo in unhealthy disk rule
2021-08-18 18:53:27 +02:00
ab697bafce
Perceval was moved from EDC to Fleming. Add group by server.
2021-08-16 08:32:20 +02:00
e6b6790f63
New rule for unhealthy disks
2021-08-13 15:24:12 +02:00
cca10e7cc9
Merge pull request 'Access Point EDC removed (InWall)' ( #61 ) from remove_wireless_ap into master
...
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#61
2021-07-17 16:18:03 +02:00
ab11e6cd65
Access Point EDC removed (InWall)
2021-07-17 16:12:13 +02:00
bd1343cf03
Merge pull request 'Remove mail from re2o bug report' ( #59 ) from remove-mail into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#59
2021-05-25 23:13:54 +02:00
b7ead19d50
Remove mail from re2o bug report
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-05-25 23:11:30 +02:00
bb97bca456
Increase RandomizedDelaySec when hourly = 0
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build encountered an error
2021-05-23 14:09:01 +02:00
4f66702f15
Merge pull request 'Add caradoc' ( #58 ) from add_caradoc into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#58
2021-05-23 14:07:57 +02:00
9296a2ed91
Add caradoc.adm.auro.re
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-05-23 14:02:20 +02:00
4f2f0ffe64
Increase swap alert threshold
2021-05-19 15:32:33 +02:00
c8a877282f
Add 9 & 10 for Debian distribution
continuous-integration/drone/push Build is failing
2021-05-19 15:29:40 +02:00
d89d88813f
Merge pull request 'Add routeur-aurore* to routeur group' ( #57 ) from rsyslog_queues into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#57
2021-05-10 13:06:07 +02:00
c6b768e1bb
Don't run borgmatic every hour if not needed
continuous-integration/drone/push Build is failing
2021-05-10 13:02:45 +02:00
926790844b
Add routeur-aurore* to routeur group
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2021-05-10 13:00:47 +02:00
ceaf75f0ad
Merge pull request 'Use a disk assisted queue for rsyslog' ( #56 ) from rsyslog_queues into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#56
2021-05-04 00:54:40 +02:00
2c82653383
Merge pull request 'Monitor perceval' ( #55 ) from monitoring_perceval into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#55
2021-05-04 00:53:36 +02:00
05f76c7586
Monitor perceval
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2021-05-04 00:51:25 +02:00
604373db03
Set rsyslog_high_density for routers
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2021-04-30 16:49:36 +02:00
b29e9c0e45
Configure a disk-assisted queue for output actions
2021-04-30 16:49:00 +02:00
cc681e4fac
Add an inventory group for routers.
2021-04-30 16:39:52 +02:00
f50586c476
Merge pull request 'Update ansible-lint' ( #54 ) from update_ansible_lint into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#54
2021-04-17 17:47:13 +02:00
9c47067f93
No need to only warm for unnamed task anymore
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-04-17 17:43:49 +02:00
3a600d9061
Give a name to unnamed tasks
2021-04-17 17:43:49 +02:00
dada40e005
Merge branch 'master' into update_ansible_lint
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-04-17 17:24:15 +02:00
1520ad92c8
Merge pull request 'Installation Prometheus-postgres-exporter' ( #53 ) from prometheus_postgres_exporter into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#53
Reviewed-by: otthorn <otthorn@noreply@auro.re>
Reviewed-by: jeltz <jeltz@noreply@auro.re>
2021-04-14 20:19:39 +02:00
f409fb53cb
remove port for docker
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-14 20:11:23 +02:00
11d0b46ef0
Remove port for docker instances. Remove 'remove old files' tasks
2021-04-14 20:00:16 +02:00
013743f910
typo in docker rules
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-14 19:54:37 +02:00
1b0bff4c51
Fix deployment and add prometheus groups for hosts
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-14 19:51:47 +02:00
fde52f2e42
Alerts repository owned by prometheus
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-14 19:29:12 +02:00
e4d2416722
fix typo
2021-04-14 19:27:13 +02:00
226b55b0d1
Update alerts (remove instance, translations)
2021-04-14 19:10:42 +02:00
5c08fed9de
👷 Only warn for unnamed tasks (used in include_role)
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-12 22:32:03 +02:00
2d9d66c16d
⬆️ Update CI: ansible-lint version
2021-04-12 22:30:52 +02:00
fd5ad8d5ac
Merge branch 'prometheus_postgres_exporter' of https://gitea.auro.re/Aurore/ansible into prometheus_postgres_exporter
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-04-12 11:10:31 +02:00
5d9a6599e8
Fix some typos, in accordance to Solal's comments
2021-04-12 11:10:15 +02:00
3320e3e0c6
Update the labels for the alert (make complete tenses)
2021-04-12 11:01:43 +02:00
676cc716cf
Modify label for the alert
2021-04-12 11:00:31 +02:00
954e3e0892
End of yaml file (bad copy/paste)
2021-04-12 10:58:59 +02:00
pz2891
8c666151d6
Merge branch 'master' into prometheus_postgres_exporter
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-04-12 10:10:17 +02:00
d891559e28
Fix CI
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-04-12 10:03:53 +02:00
1908deee9c
fix CI
continuous-integration/drone/push Build is failing
2021-04-12 10:01:39 +02:00
jeltz
4c8550bfe1
Merge pull request 'Allow root to connect using peer authentication' ( #52 ) from bdd_fix_auth into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#52
2021-04-11 22:14:26 +02:00
e2b1f8eae5
Allow root to connect using peer authentication
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-11 22:08:11 +02:00
6e376a72e3
fix CI
continuous-integration/drone/push Build is failing
2021-04-11 22:04:05 +02:00
6c64bb214c
fix CI
continuous-integration/drone/push Build is failing
2021-04-11 22:01:21 +02:00
764f0f106d
Install postgres exporter when it is bullseye or buster
continuous-integration/drone/push Build is failing
2021-04-11 21:38:29 +02:00
bdcdb8ceae
Radius, not a radis ! Fix typo...
2021-04-11 21:32:53 +02:00
7d99cef57c
Fix typo
2021-04-11 21:32:20 +02:00
ca3d89e671
Install postgresql on radius. Monitore it on prometheus-aurore
continuous-integration/drone/push Build is failing
2021-04-11 21:29:02 +02:00
749188e297
Add a group with all radius
2021-04-11 21:27:43 +02:00
c48fe1ae17
7% rollback for the warning
2021-04-11 20:57:53 +02:00
304437da97
Remove .save file
2021-04-11 20:56:40 +02:00
9d18ebb7f1
Fix docker rules
continuous-integration/drone/push Build is failing
2021-04-11 17:18:32 +02:00
6775d9ecde
Add docker rules
2021-04-11 16:43:34 +02:00
9ebdf15bb9
Splite alerts on some files
2021-04-11 15:58:35 +02:00
dd48302585
Configure Prometheus and Prometheus federate to scrape Postgres Exporter
continuous-integration/drone/push Build is failing
2021-04-10 18:01:55 +02:00
45041be2ab
Install postgres exporter
2021-04-10 17:29:50 +02:00
pz2891
3d1d787063
Merge pull request 'Add the Rives 231 UPS' ( #50 ) from add_ups_231 into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#50
2021-04-10 17:00:57 +02:00
9ed7441e34
Add the Rives 231 UPS
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-10 16:58:48 +02:00
pz2891
28714ecf95
Merge pull request 'Update Unifi AP' ( #49 ) from update_access_point_list into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#49
2021-04-09 16:35:43 +02:00
pz2891
a33ea29637
Merge branch 'master' into update_access_point_list
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-09 16:34:43 +02:00
efa428fba0
Update Unifi AP
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-09 15:06:55 +02:00
pz2891
e3c56e7d46
Merge pull request 'Mise à jour de la liste des bornes wifi' ( #48 ) from update_access_point_list into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#48
2021-04-09 10:13:48 +02:00
82f05482d0
Add 3 Access Points forgotten in GS
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-09 09:54:52 +02:00
73749e9e6b
Update the list of Access Point
continuous-integration/drone/push Build is failing
2021-04-09 09:27:47 +02:00
pz2891
6afd0cb4ac
Merge pull request 'Monitor ups-ec-3.ups.auro.re' ( #47 ) from add_rives_vm_master into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#47
2021-04-08 16:17:07 +02:00
pz2891
f7529be904
Merge branch 'master' into add_rives_vm_master
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-08 16:15:52 +02:00
d2787479cf
Monitor ups-ec-3.ups.auro.re
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-07 16:55:35 +02:00
jeltz
aac4c05cd3
Merge pull request 'WIP : add_rives_vm_master' ( #42 ) from add_rives_vm_master into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#42
2021-04-06 19:39:01 +02:00
jeltz
6b2bc60589
Merge branch 'master' into add_rives_vm_master
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-04-06 19:37:57 +02:00
jeltz
e2f5529498
Merge pull request 'Separate AP/servers down alerts and add temperature alerts' ( #46 ) from prometheus_alerts into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#46
2021-04-03 17:28:22 +02:00
91817b324c
Increase the alert threshold for temperatures
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-04-03 08:04:10 +02:00
1c3127dbbe
Add more node-exporter alerts
...
continuous-integration/drone/push Build is passing
Source: https://awesome-prometheus-alerts.grep.to/rules.html
2021-04-02 22:55:51 +02:00
f80435cb31
Differentiate alerts for servers and Wi-Fi APs
continuous-integration/drone/push Build is passing
2021-04-02 21:54:38 +02:00
06f101527d
Use a dynamic interval for UPS output voltage alerts
continuous-integration/drone/push Build is passing
2021-04-02 13:57:34 +02:00
jeltz
2388bfdc3d
Merge pull request 'Cleanup Prometheus alerts' ( #45 ) from prometheus_alerts into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#45
2021-04-01 19:24:05 +02:00
83f5b35e59
Fix a filename typo
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-04-01 18:24:21 +02:00
35286a661a
Change an alert description
2021-04-01 18:24:03 +02:00
11335a6077
Fix typo in alert description
continuous-integration/drone/push Build is passing
2021-04-01 18:15:22 +02:00
083fc4da9a
Fix permissions on prometheus.yml
2021-04-01 18:15:09 +02:00
f69dfd8799
Remove other unmanaged hosts
continuous-integration/drone/push Build is passing
2021-04-01 17:41:22 +02:00
5d681a95ea
Remove unmanaged hosts from inventory
continuous-integration/drone/push Build is passing
2021-04-01 17:31:21 +02:00
a743ce09fb
Move templates of the prometheus_federate role
continuous-integration/drone/push Build is passing
2021-04-01 09:42:54 +02:00
bc35cd8e90
Move templates of the prometheus role
2021-04-01 09:40:22 +02:00
5bcc428895
Remove 'instance' from description and fix typos
2021-04-01 09:36:11 +02:00
eeaf0f8486
Fix syntax errors
continuous-integration/drone/push Build is passing
2021-04-01 06:02:40 +02:00
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
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
Reviewed-on: Aurore/ansible#43
2021-03-30 10:11:04 +02:00
ac05da7173
Use update_motd everywhere
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-30 10:08:21 +02:00
8ab4159d38
Don't try to configure rsyslog on Wi-Fi APs
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-30 10:06:36 +02:00
dff0d9922c
Store log.adm.auro.re local logs in /var/log/remote
2021-03-30 10:06:25 +02:00
dd274891a5
resolve conflicts
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-30 09:30:06 +02:00
cec907af48
remove file (copied from utils)
2021-03-30 09:20:31 +02:00
2952c39f70
Fix issues for installing radius-rives (baq package for postgresql-client)
2021-03-30 09:20:31 +02:00
3de76b0ac7
Add new Bornes of EDC
2021-03-30 09:20:31 +02:00
cccd9ac598
Add master Rives VM
2021-03-30 09:20:25 +02:00
jeltz
6104782a37
Merge pull request 'Cleanup logrotate configuration' ( #41 ) from logrotate into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#41
2021-03-30 07:51:52 +02:00
85e691a0a2
Don't store journald logs to disk
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
As they are already stored on disk by rsyslog.
2021-03-30 07:46:06 +02:00
606df65535
Cleanup logrotate role
2021-03-30 07:45:52 +02:00
3030d3bfab
Fix typo: use 'Reload' instead of 'Restart'
2021-03-30 07:42:46 +02:00
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
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
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
465ab398c0
remove file (copied from utils)
2021-03-17 20:43:55 +01:00
a1533b7efd
Fix issues for installing radius-rives (baq package for postgresql-client)
2021-03-17 20:41:46 +01:00
ffbedf6d35
Add new Bornes of EDC
2021-03-16 21:34:41 +01:00
f662e4bd47
Remove bullseye for radius role. Add the oid for temperature of ups
2021-03-16 21:13:45 +01:00
3000f46c46
Randomize borgmatic timer
2021-03-16 15:05:29 +01:00
6f927e30f3
Exclude docker and lxcfs folders from borgbackup
2021-03-16 15:05:07 +01:00
8524b9fa99
Fix typo
2021-03-16 14:13:12 +01:00
37582abfe1
Remove useless tasks from borgmatic_client
2021-03-16 13:47:14 +01:00
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
1be92bad62
Log source port for NGinx
2021-03-16 09:43:13 +01:00
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
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
3f3f688da4
Use 'present' instead of 'latest' (ansible-lint)
2021-03-15 07:51:48 +01:00
6713b550b6
Merge branch 'master' into backups
2021-03-15 07:50:11 +01:00
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
243ec1fe9d
[borgbackup_client] VaRi0u5 f1X3s
2021-03-15 01:04:42 +01:00
e12f67c920
[borgbackup_client] ignore some Strech machines
2021-03-15 01:03:34 +01:00
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
f15b222cdc
Allow root to log as postgres
2021-03-14 23:45:36 +01:00
a54006c9d4
Various fixes
2021-03-14 23:39:12 +01:00
6f36506a98
rm a _bak file
2021-03-14 22:09:27 +01:00
41eb446114
small fix
2021-03-14 22:08:29 +01:00
7480a7c565
[borgbackup_client] precedence rules and sain defaults for borg config
2021-03-14 22:02:34 +01:00
59f2c94a61
Custom borgbackup configuration for the logs
2021-03-14 21:14:37 +01:00
e570ce67b3
[borgbackup_client] do not backup /var/log/
2021-03-14 19:23:04 +01:00
b14b359027
[borgbackup_client] add exlude path to conf
2021-03-14 19:21:15 +01:00
33a1ec02f3
[borgbackup_client] update config directory to be homogeneous
2021-03-14 19:07:02 +01:00
ebfc4f2a26
[borgbackup_client] do update cache
2021-03-14 19:03:44 +01:00
0b5562f3f4
Add litl.adm.auro.re
2021-03-14 18:57:44 +01:00
86f8b31159
Delegate facts for borgbackup_client
2021-03-14 18:44:13 +01:00
d9f1104309
Move id_remote to /etc/borgmatic
2021-03-14 18:42:26 +01:00
c6cae75031
[borgbackup_server] fix /borg permissions
2021-03-14 18:29:33 +01:00
46d10022ea
[borgbackup_client] fix rentention date to int and list correctly source directories
2021-03-14 18:24:36 +01:00
ff750c5b63
[borgbackup_client] remove 1 minute sleep and fix verbosity
2021-03-14 18:23:44 +01:00
2651432582
[WIP] various fixes
2021-03-14 18:22:52 +01:00
c5afbdbde4
remove borg_host_dir
2021-03-14 18:22:17 +01:00
d928c7f7f0
[borgbackup_client] rename variable correclty
2021-03-14 16:11:40 +01:00
021a5ef1e8
[borgbackup_client] various fixes for ssh keys
2021-03-14 16:11:18 +01:00
c99b611b8f
Various fixes
2021-03-14 14:17:36 +01:00
8112788396
[borgbackup_client] Add 'user:' in authorized_key
2021-03-14 13:18:30 +01:00
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
ac42401d6d
Merge branch 'master' into fix_exported_prometheus
2021-03-14 10:20:05 +01:00
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
637b74a2ad
Fix some linter issues
2021-03-13 05:05:30 +01:00
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
65c94d8e84
Fix trailing whitespace in the linter
continuous-integration/drone/push Build is failing
2021-03-13 03:13:43 +01:00
4150a77649
Remove vote from bdd.adm.auro.re
continuous-integration/drone/push Build is failing
2021-03-13 03:09:21 +01:00
a01a2095d6
Add passwords in all and vault for postgres db for wikijs, gitea, nextcloud, drone
2021-03-13 03:07:35 +01:00
98171e449d
Update postgresql variable to match the new scheme in bdd.adm.auro.re
2021-03-13 02:48:16 +01:00
8ec838962d
Postgresql is version 13 on bullseye
continuous-integration/drone/push Build is failing
2021-03-13 02:35:39 +01:00
bdc59049ae
Rename file for consistency
2021-03-13 02:35:03 +01:00
f6e1949c21
Adding master VM for Rives and adapt radius role for bullseye
continuous-integration/drone/push Build is failing
2021-03-12 12:29:52 +01:00
1611f4a93c
[utils] move the sudo_upgrade playbook with other utils
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-12 01:59:03 +01:00
904678d1ac
[borgbackup_client] Add borg encryption passphrase to vault
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-12 01:49:04 +01:00
965bbe62a4
[borgbackup_client] configure encryption passphrase and storage
2021-03-12 01:46:35 +01:00
d7a4995496
[borgbackup_client] backup the ZFS datasets
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-12 01:06:48 +01:00
d16676bfb6
[borgbackup_client] hostname should also be unique, but more legible than fqdn
2021-03-12 01:05:58 +01:00
cdcfad7ac2
[borgbackup_client] backup /var/ also (for now)
2021-03-12 01:05:19 +01:00
29f2823960
[borgbackup_client] tell borg that a postgresql database lies on re2o-bdd
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
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
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
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
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-11 23:29:57 +01:00
f0f56ecd3f
Fix linter-related issues
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-11 20:15:35 +01:00
7cf616f6c7
Add playbook for backups
continuous-integration/drone/push Build is failing
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' ( #38 ) from update_motd into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#38
2021-03-11 19:34:41 +01:00
jeltz
7a691882f3
Merge pull request 'Add databases for Grafana and CAS' ( #37 ) from add_bdd_services into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#37
2021-03-11 19:33:24 +01:00
69516012a2
Add databases for Grafana and CAS
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-11 19:28:14 +01:00
bcc492339f
Add master Rives VM
2021-03-11 15:38:49 +01:00
pz2891
e5299d8087
Merge pull request 'Merge monitoring of new ups, and adapt threesold' ( #33 ) from monitoring_ups into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#33
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
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-11 15:06:33 +01:00
jeltz
40cd5c71ad
Merge pull request 'Fix: keep the logs for 90 days' ( #36 ) from logrotate-fix-90-jours into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#36
2021-03-11 14:38:17 +01:00
pz2891
472feb2dc0
Merge branch 'master' into monitoring_ups
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-11 14:32:11 +01:00
077858724a
Merge branch 'master' into logrotate-fix-90-jours
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
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' ( #35 ) from docker_best_pratices into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#35
2021-03-11 14:25:08 +01:00
otthorn
a31f57e844
Merge branch 'master' into monitoring_ups
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-11 14:23:39 +01:00
jeltz
974fcff1d3
Merge pull request 'Add playbook to deploy sudo update on all machines' ( #34 ) from sudo_update into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#34
2021-03-11 14:22:20 +01:00
6125856c60
Merge branch 'monitoring_ups'
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-11 14:06:38 +01:00
a64864150f
Remove services-web from hosts
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2021-03-11 13:33:03 +01:00
d233fc2759
Update of threesold for warning battery
2021-03-11 13:23:15 +01:00
14532d88db
Add kanboard.auro.re to proxy-ovh.adm.auro.re
continuous-integration/drone/push Build is passing
2021-03-10 20:43:45 +01:00
jeltz
ebb3c894da
Merge pull request 'Ansiblesation des VMs de BDD' ( #32 ) from service-bdd-ovh into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#32
2021-03-10 20:18:15 +01:00
df4bee2980
Add kanboard database to bdd-ovh
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 20:14:02 +01:00
6095d9cef9
Add 'no_log' for postgres passwords
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 18:18:08 +01:00
630377edad
Create users and databases on bdd-ovh
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 17:21:58 +01:00
b3fa8a455d
Add/Update password for postgres db codimd, etherpad and synapse
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
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
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
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
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-10 14:27:14 +01:00
40eadf802c
Add template and no_log for postgresql_user
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-10 13:58:40 +01:00
8e855d7009
Listen addresses must be quoted
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 13:36:10 +01:00
7a07155237
Install python3-psycopg2 (required by Ansible)
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
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'
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 13:25:36 +01:00
9ef6202fdf
Add configuration for users and databases
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
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
continuous-integration/drone/push Build is failing
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
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 12:52:15 +01:00
69c6d5b55d
add and clean bdd hosts
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 12:51:07 +01:00
0656dacbe8
Add config for bdd local
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 12:47:15 +01:00
6951e017b7
bdd config for synapse
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 12:43:08 +01:00
1105ea88c1
rename VM to a simpler name (services-bdd-ovh -> bdd-ovh)
2021-03-10 12:40:17 +01:00
8b9bef865e
postgresql listen on pseudo-address
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 12:26:18 +01:00
dbbaf0d26d
remove tailling whitespaces
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-10 12:11:02 +01:00
a4c393d3fb
fix yaml ci truthy value
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-10 12:10:06 +01:00
d14306a86c
fix syntax for CI
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-10 12:08:05 +01:00
a625a58ddd
create role postgresql_server
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-10 12:01:32 +01:00
64ae2a8521
configure postgres for services-bdd-ovh
2021-03-10 12:01:16 +01:00
jeltz
452b605fc2
Merge pull request 'Update the list of packages installed via baseconfig' ( #30 ) from add_dnsutils into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#30
2021-03-07 23:39:55 +01:00
2c0727a419
Update the list of packages installed via baseconfig
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-07 21:41:42 +01:00
jeltz
41779fb172
Merge pull request 'Add backup root SSH keys' ( #27 ) from add-ssh-keys into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#27
2021-03-07 21:30:38 +01:00
deb4372588
Merge branch 'master' into add-ssh-keys
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-07 21:29:57 +01:00
2e912fc47a
Add recovery SSH keys for ynerant and otthorn
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2021-03-07 21:23:09 +01:00
929baa300f
Use 'update_motd' in 'prometheus_federate' (again)
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-06 04:48:39 +01:00
71ee06c9c0
Fix typo
continuous-integration/drone/push Build is failing
2021-03-06 04:45:00 +01:00
bc2701d8ba
Use 'update_motd' in 'prometheus_federate'
continuous-integration/drone/push Build is failing
2021-03-06 04:43:09 +01:00
2353589da6
Ensures /etc/update-motd.d exists
2021-03-06 04:42:21 +01:00
1d0200a1f0
Use 'update_motd' in 'prometheus'
2021-03-06 04:32:06 +01:00
b81600aef8
Use 'update_motd' in 'baseconfig'
2021-03-06 04:31:20 +01:00
7e92fdfab7
Create an 'update_motd' role
2021-03-06 04:30:32 +01:00
jeltz
e6a86640de
Merge pull request 'Fetch switch_snmp jobs' ( #29 ) from fix_exported_prometheus into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#29
2021-03-06 02:44:40 +01:00
cf07de4ec4
Fetch switch_snmp jobs
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-06 02:41:58 +01:00
jeltz
7cc478b1ad
Merge pull request 'Use label federated_instance instead of instance' ( #28 ) from fix_exported_prometheus into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#28
2021-03-06 02:09:09 +01:00
b9269f3967
Fix monitoring.yml indentation (yamllint warning)
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-06 02:00:56 +01:00
e5be09656b
Monitor yggdrasil from prometheus-aurore
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-06 01:58:02 +01:00
8abca7916f
Add switch_snmp job for prometheus
2021-03-06 01:57:32 +01:00
763cc2eb51
Generate targets_switch_snmp.json
2021-03-06 01:57:08 +01:00
eaa0d2e0fc
Fix bad indent in snmp.yml.j2
2021-03-06 01:56:18 +01:00
8ae94fa8f8
Rename vault_snmp_switch{s,}_community
2021-03-06 01:08:51 +01:00
21fed6ae3f
Add useful lookups for switchs interfaces
2021-03-06 00:58:46 +01:00
52124d2cad
Cleanup prometheus_federate's prometheus.yml.j2
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-06 00:46:13 +01:00
7d527be1c0
Remove duplicate alerts from 'prometheus-federate'
2021-03-06 00:45:43 +01:00
32669e1fb1
Don't load Django rules prometheus-federate
2021-03-06 00:44:22 +01:00
4ca7ebd144
Add a unique exported label (useful for federation)
2021-03-06 00:40:44 +01:00
802bfcc698
'prometheus-federate' must not retrieve its own federated metrics
2021-03-06 00:38:36 +01:00
958eaa1bcb
Use label federated_instance instead of instance
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-03-05 00:54:44 +01:00
6525508401
Forward journald logs to rsyslog
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-02 01:24:53 +01:00
77a5fdac6f
Remove some duplicate logs from syslog.log
2021-03-02 00:56:28 +01:00
5d319cf167
Define rsyslog_{inputs,outputs} for all hosts
2021-03-02 00:52:38 +01:00
529550f594
Don't use 'imjournal' ('imuxsock' is already used)
...
I still don't understand why it increased the size of the firewall logs
by a factor of 5 to 10, but we don't really need structured logs from
systemd-journald and the author seems to discourage it's use, so I will
not investigate further.
2021-03-02 00:46:16 +01:00
ee041b9ead
Use 'simple' instead of 'oneshot' (rotate service)
2021-03-02 00:14:25 +01:00
1f6bfeee23
Fix broadcast address on routeur-aurore
continuous-integration/drone/push Build is failing
2021-03-01 20:04:38 +01:00
0f55b90de9
Remove 10.129.0.1 gateway on routeur-aurore-*
2021-03-01 20:04:02 +01:00
b13b22da05
Add ignored destinations for firewall logs
continuous-integration/drone/push Build is failing
2021-03-01 19:39:11 +01:00
8f815a30c5
Remove useless date (already added by journald)
continuous-integration/drone/push Build is failing
2021-03-01 17:47:12 +01:00
acd5721a5b
Fix typos in rotate-remote-logs.service.j2
2021-03-01 17:45:17 +01:00
9547868c7d
Send nginx logs to local syslog
continuous-integration/drone/push Build is failing
2021-03-01 17:40:05 +01:00
cdb9f88614
Do not rate limit collection of journald logs
continuous-integration/drone/push Build is failing
2021-03-01 16:31:52 +01:00
9eeb8ccd73
Remove non-Ansible SSH root keys
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-03-01 16:08:08 +01:00
1fe8d1d28b
Remove "Root Aurore" SSH key + add histausse key
2021-03-01 13:28:49 +01:00
9252249d18
Use 'true' instead of 'yes'
continuous-integration/drone/push Build is failing
2021-03-01 04:15:54 +01:00
e4b58c0bf4
Fix typo in 20-collector.conf.j2
continuous-integration/drone/push Build is failing
2021-03-01 04:07:17 +01:00
c65b3f090b
Compress and delete old remote logs
...
continuous-integration/drone/push Build is failing
Logrotate is not used because I didn't found an easy way to configure it
to handle the compression/deletion of log files already rotated by
rsyslog (it is probably possible, but I found the script to be easier).
2021-03-01 03:58:58 +01:00
f7183095c1
Add explicit permissions for directories
continuous-integration/drone/push Build is failing
2021-03-01 02:26:22 +01:00
ba8b4e8c29
Fix the ordering of rsyslog.d files
...
continuous-integration/drone/push Build is failing
A call to sendLogsToRemote for logs received through RELP/UDP has
been added (to send them to Logstash/Redis/…), so common.conf's prefix
must be lower than collector.conf's.
Note: future "third-party" config files will also call sendLogsToRemote
and thus will also have to use a prefix higher than 10.
2021-03-01 02:15:28 +01:00
02a8cb84df
Add log.yml playbook
continuous-integration/drone/push Build is failing
2021-03-01 01:29:16 +01:00
4a43bf8a16
Add logging configuration for log.adm.auro.re
2021-03-01 01:28:30 +01:00
7fd1b5ff5d
Add rsyslog_collector role
2021-03-01 01:27:56 +01:00
6263c31785
Add rsyslog_common role
2021-03-01 01:27:30 +01:00
89181c6cd6
Add log.adm.auro.re to inventory
continuous-integration/drone/push Build is passing
2021-02-28 22:59:36 +01:00
c3d24c1cd0
Add SSH key for Jeltz
continuous-integration/drone/push Build is passing
2021-02-28 21:47:42 +01:00
ynerant
52f73288b4
Merge pull request '[certbot] Fix certificates for auro.re' ( #26 ) from certbot_aurore into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#26
2021-02-24 13:59:36 +01:00
ba6da939ab
[certbot] Fix certificates for auro.re
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-24 13:57:59 +01:00
ynerant
ce821cbb1a
Merge pull request '[nginx/certbot] Clone roles from Crans' ( #25 ) from new_nginx into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#25
2021-02-24 11:48:02 +01:00
ae151321db
[nginx/certbot] Clone roles from Crans
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-24 11:46:37 +01:00
otthorn
f49194b423
Merge pull request 'Global_monitoring' ( #24 ) from Global_monitoring into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#24
2021-02-18 18:03:04 +01:00
d7d0676f5e
Remove .save file; remove fo fleming prometheus
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-02-18 17:53:15 +01:00
a35488efdd
[Docker] do not cache pip
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2021-02-18 00:14:12 +01:00
74c30b81df
Merge branch 'master' into Global_monitoring
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-02-17 19:41:06 +01:00
b278b02bc2
Remove percentage sign for load alert
continuous-integration/drone/push Build is failing
2021-02-17 19:37:33 +01:00
0b90c9944b
Fix CI warning from last commit
continuous-integration/drone/push Build is failing
2021-02-17 18:15:31 +01:00
61001e09f5
Add alert for load usage
continuous-integration/drone/push Build is failing
2021-02-17 18:08:39 +01:00
a5b4deacee
Rename federate role; update of alerts of federate prometheus; update of configuration of federate prometheus
continuous-integration/drone/push Build is failing
2021-02-17 17:42:24 +01:00
otthorn
3eb9536c7b
Merge pull request 'Update the documention for the docker image used for ansible-lint' ( #23 ) from fix_docker_lint_doc into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#23
2021-02-16 19:01:09 +01:00
c45d12cd6a
📝 use the full command
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-02-16 19:00:25 +01:00
83fd1b03e7
🚚 correctly name Dockerfile
continuous-integration/drone/push Build is passing
2021-02-16 18:44:18 +01:00
4dd75d1180
📝 Update the docker image doc for ansible-lint
continuous-integration/drone/push Build is passing
2021-02-16 18:40:48 +01:00
06d0bd56ae
📝 Update the docker image doc for ansible-lint
2021-02-16 18:34:57 +01:00
otthorn
bb026921e1
Merge pull request 'Fix linter issues and add CI badge' ( #22 ) from fix_linter_issues into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#22
2021-02-16 18:23:29 +01:00
f39ade227a
📝 add CI badge
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-02-16 18:22:19 +01:00
d5b77f83d3
Merge branch 'fix_linter_issues' of ssh://gitea.auro.re:2222/Aurore/ansible into fix_linter_issues
continuous-integration/drone/push Build is passing
2021-02-16 18:19:17 +01:00
54aec3638f
🚨 fix var-spacing
2021-02-16 18:18:50 +01:00
902d219de3
🚨 fix risky-file-permission
2021-02-16 18:18:50 +01:00
1fe440aabe
🚨 fix empty-string-compare
2021-02-16 18:18:50 +01:00
008fb803d9
🚨 fix risky-file-permission
2021-02-16 18:18:50 +01:00
def64380e6
👷 do not ansible-lint the vault and fix useless rules
2021-02-16 18:18:50 +01:00
otthorn
5e784ff569
Merge pull request ' 🐛 Final fix, should stop sending ill-formed mail from now on' ( #21 ) from fix_postfix_non_mail_host_again into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#21
2021-02-16 18:11:00 +01:00
5b2580056d
🐛 Final fix, should stop sending ill-formed mail from now on
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-16 18:10:39 +01:00
otthorn
85d1acc0b1
Merge pull request 'Use a locally built docker image for the CI' ( #20 ) from ci_use_locally_built_image into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#20
2021-02-16 18:07:56 +01:00
d650e77b23
rename ci task
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-16 16:43:11 +01:00
414e80a7c4
never try to pull this image
continuous-integration/drone/push Build is failing
2021-02-16 16:42:10 +01:00
42074b31c5
simplify the drone config wiht the newly built image
continuous-integration/drone/push Build encountered an error
2021-02-16 16:40:27 +01:00
58068e9cd8
Docker image to be built for the CI
2021-02-16 16:39:27 +01:00
15ae83566c
🚨 fix var-spacing
continuous-integration/drone/push Build is passing
2021-02-16 15:43:52 +01:00
3840fdd44e
🚨 fix risky-file-permission
2021-02-16 15:42:54 +01:00
da1fa70e55
🚨 fix empty-string-compare
2021-02-16 15:42:10 +01:00
a02afd20b7
🚨 fix risky-file-permission
2021-02-16 15:40:58 +01:00
f1ce3290c9
👷 do not ansible-lint the vault and fix useless rules
2021-02-16 15:38:42 +01:00
otthorn
a761d0ea38
Merge pull request 'Fix a small postfix non mailhost bug' ( #19 ) from fix_postfix_non_mailhost into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#19
2021-02-16 13:17:11 +01:00
f607a76ec8
🐛 Fix a small bug. Postfix does not accept trailing comments
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-16 13:13:26 +01:00
otthorn
96be03ca22
Merge pull request 'Fix and update CI' ( #18 ) from fix_and_update_ci into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#18
2021-02-16 13:10:52 +01:00
ab69d15404
👷 we need full ansible, slim version wont work for our use case
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-16 03:59:03 +01:00
e9f0b884ec
👷 update ansible-lint notation that were depreciated
2021-02-16 03:57:30 +01:00
6f80cf0fd9
💚 fix yamllint CI on CI itself, CIception
continuous-integration/drone/push Build is failing
2021-02-16 03:50:14 +01:00
bd541691d9
👷 fix syntax
continuous-integration/drone/push Build is failing
2021-02-16 03:47:39 +01:00
f4fc3567ee
👷 fix ansible and yaml version according to ansible-lint 5.0 upgrade guidelines. Use ansible-base for slim version. See #1150 on ansible-lint for more info.
continuous-integration/drone/push Build is failing
2021-02-16 03:43:38 +01:00
5503a54be4
👷 ansible-lint 4.7.3 -> 5.0.0 and fix dependencies
continuous-integration/drone/push Build is failing
2021-02-16 03:32:33 +01:00
abcdf59824
👷 yaml-lint 1.25.0 -> 1.26.0
2021-02-16 03:31:26 +01:00
37124b20cb
Gitlab CI is not needed anymore
2021-02-16 03:27:27 +01:00
otthorn
a689de5f8f
Merge pull request 'Postfix for non-mailhost' ( #17 ) from configure_postfix_for_non_mailhost into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#17
2021-02-16 02:51:20 +01:00
3fceeff74f
Fix ansible lint for rule [208] always specify mode and owner for template
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-16 02:47:04 +01:00
3925e32188
Repect ansible-lint [106] for role names
2021-02-16 02:45:35 +01:00
456e025ca4
use ansible facts instead of hardcoded vars
continuous-integration/drone/push Build is failing
2021-02-16 02:42:31 +01:00
69d732e612
Fix case
2021-02-16 02:42:08 +01:00
ab3659adc2
Also config hostname just in case
2021-02-16 02:32:46 +01:00
1ca75ccfb0
Add postfix non mailhost conf
2021-02-16 02:22:41 +01:00
f08b11445d
Add postfix non mailhost task
2021-02-16 02:15:52 +01:00
a9b03aed82
Add postfix non mailhost handlers
2021-02-16 02:02:15 +01:00
e151c1c3fd
add postfix non mailhost playbook
2021-02-16 01:52:28 +01:00
otthorn
a8a226a4f9
Merge pull request 'Add a utility directory' ( #16 ) from add_utils into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#16
2021-02-11 22:39:43 +01:00
ebefe4d13e
Merge branch 'add_utils' of ssh://gitea.auro.re:2222/Aurore/ansible into add_utils
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-11 22:36:57 +01:00
02b28f45a2
Fix yaml lint
2021-02-11 22:36:34 +01:00
2f0d6be4e9
fix if file is not already present
2021-02-11 22:36:34 +01:00
6963d9fc16
Add utils
2021-02-11 22:36:34 +01:00
6ec449c3b3
Fix restarting prometheus snmp (not installed)
continuous-integration/drone/push Build is failing
2021-02-10 20:43:43 +01:00
d8924abe66
Add prometheus-federate role
2021-02-10 20:42:37 +01:00
45d8ca80a4
OVH PVE and VM are now monitored by prometheus-ovh
2021-02-10 20:12:04 +01:00
4308bedf8f
Monitoring of docker containers
2021-02-10 19:06:28 +01:00
b5dbe2c5c9
Prometheus-ovh role
2021-02-10 18:40:28 +01:00
5dfadc0b52
Add prometheus federate and ovh in hosts
2021-02-10 18:39:13 +01:00
otthorn
992f580984
Merge pull request 'add_borne_and_correcting_monitoring' ( #15 ) from add_borne_and_correcting_monitoring into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#15
Reviewed-by: otthorn <otthorn@noreply.localhost>
2021-02-10 11:14:00 +01:00
63f0ebec7d
Fix yaml lint
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-10 11:07:36 +01:00
08891be5a3
fix if file is not already present
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-10 11:04:06 +01:00
df8bae6df7
Add utils
continuous-integration/drone/push Build is failing
2021-02-10 11:02:17 +01:00
bd5b88c4fc
Correcting format of percentage
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2021-02-08 18:22:08 +01:00
d7cf61dd94
Add new EDC Borne
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-08 13:58:28 +01:00
428b6f5733
Correcting grafana stats for wireless
2021-02-08 13:57:32 +01:00
8bfe83f73c
Adaptation of UPS alerts
2021-02-08 13:52:17 +01:00
otthorn
c2d33d594b
Merge pull request 'Fixing Ansible lint once and for all' ( #14 ) from fix_ansible_lint into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#14
Reviewed-by: ynerant <ynerant@noreply.localhost>
2021-02-07 18:09:27 +01:00
faf5fc7362
fix re2o-service -> re2o_service role name
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-02-07 17:39:04 +01:00
e6b853a552
fix role name
2021-02-07 17:33:29 +01:00
679daa633f
Fix ansible lint
2021-02-07 17:32:44 +01:00
83cdd60e27
Ansible-lint every file, not just playbooks
2021-02-07 17:32:02 +01:00
1e136e3736
Remove rules from warn list when it is not needed
2021-02-07 17:31:21 +01:00
otthorn
06fab325fb
Merge pull request 'Add the Jitsi VM' ( #13 ) from add_jitsi into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#13
2021-02-07 14:45:47 +01:00
5330718945
Add the Jitsi VM
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-02-07 14:38:32 +01:00
ynerant
71d7358bd7
Merge pull request 'Update re2o-service password' ( #12 ) from change-password into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#12
2021-02-05 22:19:30 +01:00
4ecb6ed7be
Update re2o-service password
...
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Signed-off-by: ynerant <ynerant@crans.org>
2021-02-05 21:18:26 +01:00
ynerant
f9e83e514e
Merge pull request 'Captive portal' ( #11 ) from accueil into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#11
2021-02-05 20:39:50 +01:00
0e224df41f
Install ipset on each router
...
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:26 +01:00
ce00d5e50f
Authorize comnpay urls in the captive portal
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:26 +01:00
c527ce16b0
Use good output interface for the main router
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
3f62644927
Use production server
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
a82edc3e24
Firewall configuration without MASQUERADE
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
bbac76023c
Update masquerade configuration for the captive portal
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
a808e3c793
Update captive portal nginx configuration
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
7e4a2d20c0
Clone nginx role from Crans
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
889cb764c1
Clone certbot role from Crans
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
154cbedec2
Deploy firewall config for the captive portal
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
ba9e60dba8
Update the nginx configuration of the captive portal
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
9bd06520fb
Add reverse-proxy for Re2o on the portal VM
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:25 +01:00
6df41d16b5
Add portail VM
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:39:20 +01:00
e02670afb0
Les caches unbound renvoie les addresses en 10/8
2021-02-05 20:38:50 +01:00
a7b073e1cc
Add captive portal firewall configuration
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:38:50 +01:00
89ebbd423e
Use the local firewall repository
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:38:50 +01:00
9af9a7bab8
Redirect the proxy IP address to intranet.auro.re by default
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:38:49 +01:00
5a09b77070
Resolve DNS for the accueil vlan
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-05 20:38:49 +01:00
5fc2d0a3f9
Ajout d'accueil dans keepalived
2021-02-05 20:38:49 +01:00
7cdef7ee96
Fix: keep the logs for 90 days
2021-02-05 20:38:49 +01:00
ynerant
9d66bba3b0
Merge pull request 'Tmux everywhere' ( #6 ) from tmux into master
...
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Reviewed-on: Aurore/ansible#6
2021-02-02 23:18:58 +01:00
3eb48edccd
Tmux everywhere
...
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-02 23:17:47 +01:00
otthorn
f6c9208a41
Merge pull request 'Limit floats in alerts to 2 decimal places' ( #5 ) from human_readable_altermanager into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#5
2021-01-29 20:48:43 +01:00
otthorn
c9352fb9ab
Merge pull request 'Use unattended-upgrades for Debian-Security' ( #4 ) from unattended into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#4
2021-01-29 20:42:24 +01:00
otthorn
3da5dde917
Merge pull request 'monitoring_pdu' ( #3 ) from monitoring_pdu into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#3
2021-01-29 20:32:12 +01:00
otthorn
a8af3c9c72
Merge branch 'master' into monitoring_pdu
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-01-29 20:29:28 +01:00
eecf807b53
Delte main.yml.save
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-01-29 20:15:21 +01:00
a12bcbc97f
Correct yamlint
continuous-integration/drone/push Build is failing
2021-01-29 20:12:14 +01:00
6ec89b88d8
Limit floats in alerts to 2 decimal places
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-01-29 19:33:38 +01:00
d59cb41d5e
Use unattended-upgrades for Debian-Security
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-01-28 03:42:07 +01:00
3050a95699
Add playbook to deploy sudo update on all machines
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-01-27 14:36:14 +01:00
3d05acbd03
Add Loki server
continuous-integration/drone/push Build is failing
2021-01-26 19:18:35 +01:00
e3ae912f44
Add prometheus-aurore to monitor all service VM and physical servers. Modifying monitoring role to exclude wireless access points when running the role on all hosts
continuous-integration/drone/push Build is failing
2021-01-23 22:10:57 +01:00
bac377f634
Update alert rules of UPS
continuous-integration/drone/push Build is failing
2021-01-23 19:01:27 +01:00
85d0dc9621
Fix: keep the logs for 90 days
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-01-23 17:19:50 +01:00
57d997536a
Merge branch 'master' of ssh://gitea.auro.re:2222/Aurore/ansible
continuous-integration/drone/push Build is failing
2021-01-23 16:22:58 +01:00
be0c2f8e4a
If you want to ONLY run the logrotate role
2021-01-23 16:22:36 +01:00
otthorn
a3794e9f7d
Merge pull request 'Logrotate' ( #2 ) from logrotate into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#2
2021-01-23 16:16:57 +01:00
fff6ec5807
fix typo: restart -> reload
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-01-23 16:04:09 +01:00
795ee3846f
fix indent
2021-01-23 16:02:10 +01:00
e6af0f2bd7
fix typo: groupe -> group
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2021-01-23 15:59:03 +01:00
e1a961273d
fix typo: dst -> dest
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2021-01-23 15:42:52 +01:00
d50288ccff
fix host syntax
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2021-01-23 15:12:28 +01:00
73142dbe03
Fix yaml syntax
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-01-23 14:41:25 +01:00
43274ef2ec
Add the ansible_managed var at the begining of the config file
2021-01-23 14:40:29 +01:00
66c2ff6305
full path to logrotate for command
2021-01-23 14:37:18 +01:00
0d9fd16030
Add logrotate to the base playbook
2021-01-23 14:35:03 +01:00
0122a293eb
Add the unify group
2021-01-23 14:34:13 +01:00
05326c15d3
Enforce logrotate rules
2021-01-23 14:27:09 +01:00
ddd69e04c0
create logrotate role
2021-01-23 14:25:35 +01:00
705fe953ae
Monitoring of Pacaterie's UPS
continuous-integration/drone/push Build is failing
2021-01-22 18:20:13 +01:00
c7a3495ae5
Alert rules for UPS
continuous-integration/drone/push Build is failing
2021-01-22 12:16:36 +01:00
40d3c22276
Setup config snmp for Prometheus, to monitore Aurore's PDU
continuous-integration/drone/push Build is failing
2021-01-21 21:26:40 +01:00
51681922aa
Even more CNAMEs !
continuous-integration/drone/push Build is failing
2021-01-20 17:02:05 +01:00
otthorn
724d21485c
Merge pull request 'Certbot: handlers' ( #1 ) from handlers into master
...
continuous-integration/drone/push Build is failing
Reviewed-on: Aurore/ansible#1
2021-01-20 17:00:32 +01:00
f0e3bd78c9
use command instead of shell when you don't need sh features (pipes, env, etc...)
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-01-19 23:27:17 +01:00
4a57dad8a6
use handlers
continuous-integration/drone/push Build is failing
2021-01-19 23:19:25 +01:00
9e135e1dfd
Fix ansible lint v3 -- on the right branch this time!
continuous-integration/drone/push Build is failing
2021-01-17 23:49:29 +01:00
facfe3c169
Attempt to fix ansible lint
continuous-integration/drone/push Build is failing
2021-01-17 18:21:29 +01:00
293a3855a1
Add the new CNAMES to the list of domains for certbot. No wonder it did work magicly...
continuous-integration/drone/push Build is failing
2021-01-17 17:10:55 +01:00
ee1726589a
Linter should pass now!
continuous-integration/drone/push Build is failing
2021-01-17 17:06:59 +01:00
0364006062
Install curl and net-tools by default
...
continuous-integration/drone/push Build is failing
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-01-17 12:13:30 +01:00
02e4e7d48f
Sort APT packages
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-01-17 12:12:53 +01:00
078d141236
Add task to remove smartmontools of the VM
continuous-integration/drone/push Build is failing
2021-01-08 22:43:18 +01:00
154e79c490
Added lots of pseudo-CNAME: paste.auro.re, chat.auro.re, element.auro.re, hedgedoc.auro.re, etherpad.auro.re
continuous-integration/drone/push Build is failing
2021-01-07 21:17:41 +01:00
64654b2f82
Rives Access Points, and 1 forgotten for Fleming
continuous-integration/drone/push Build is failing
2021-01-07 18:30:28 +01:00
5ea3219b55
Merge branch 'master' of https://gitea.auro.re/Aurore/ansible
continuous-integration/drone/push Build is failing
2021-01-07 14:56:27 +01:00
fac481eb5a
Add Wireless Access Point of each residence
2021-01-07 14:56:06 +01:00
b189bcf36f
remove CAS
continuous-integration/drone/push Build is failing
2021-01-07 12:19:10 +01:00
b7f4f23e44
finally fixed yamllint
continuous-integration/drone/push Build is failing
2021-01-07 11:49:21 +01:00
8bc52f926c
yaml linting error in the yamllint config file, how funny!
continuous-integration/drone/push Build is failing
2021-01-07 11:42:20 +01:00
b0ce584e96
Merge branch 'master' of ssh://gitea.auro.re:2222/Aurore/ansible
2021-01-07 11:41:50 +01:00
217b210295
Please the yaml linter for document line start another because it breaks vault
2021-01-07 11:41:08 +01:00
20dc6a80e6
Please the yaml linter for document line start another because it breaks vault
continuous-integration/drone/push Build is failing
2021-01-07 11:32:19 +01:00
07f9ee1fbb
yes -> true to please yaml linter (truthy)
continuous-integration/drone/push Build is failing
2021-01-07 11:21:53 +01:00
e68ef218a2
Added yaml document start --- to please yaml linter
2021-01-07 11:20:53 +01:00
15ebe0ee4b
remove whitespace to please yaml linter
2021-01-07 11:19:57 +01:00
1763f42018
Add RP (CNAME) for zero.auro.re (just for chirac)
continuous-integration/drone/push Build is failing
2021-01-07 11:17:34 +01:00
eec6471b8e
Add EDC's wireless access point
continuous-integration/drone/push Build is failing
2021-01-06 17:47:47 +01:00
681ec7d7c6
Rename residence_physical -> residence_pve
2021-01-06 17:46:09 +01:00
44f50ff240
Add prometheus-edc vm
2021-01-06 17:42:16 +01:00
21f19dc655
Add status.auro.re
...
continuous-integration/drone/push Build is failing
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2020-12-31 16:39:27 +01:00
20bdf23495
Register WikiJS
...
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2020-12-24 01:46:16 +01:00
Yohann D'ANELLO
24fb0dbe69
Missing yml extension to reverse proxy config file
2020-12-15 17:00:15 +01:00
Yohann D'ANELLO
f27eee1c35
Add litl
2020-12-15 16:59:36 +01:00
Yohann D'ANELLO
33b96f2176
Add ghostream
continuous-integration/drone/push Build is failing
2020-11-10 01:23:34 +01:00
37e3fe2231
Add ldap replica rives
continuous-integration/drone/push Build is failing
2020-11-09 18:53:47 +01:00
d6590ea1a8
Add rives
2020-11-09 18:15:39 +01:00
b232d6b40b
Renommage re2o_service en re2o-service
2020-11-09 18:10:34 +01:00
88ffd2297f
Add residence les rives
continuous-integration/drone/push Build is failing
2020-11-08 18:53:07 +01:00
chirac
8bf080dbf7
Fix radius permission bug
2020-11-08 18:50:38 +01:00
chirac
5b56f9cfc9
Revert "Use command instead of shell"
...
This reverts commit 0f9169284f
.
2020-11-08 18:13:21 +01:00
Yohann D'ANELLO
c46a08858d
Rename proxy -> proxy-ovh, proxy-local -> proxy
2020-11-06 01:09:25 +01:00
Yohann D'ANELLO
2cd029d6a5
Redirect HTTP requests that are directly made to the IP address to auro.re
2020-11-06 01:00:21 +01:00
Yohann D'ANELLO
7e48cbc3be
Remove obsolete certbot configuration
continuous-integration/drone/push Build is failing
2020-11-05 00:23:29 +01:00
ynerant
b92449a1f8
Merge branch 'fix-certbot' into 'master'
...
continuous-integration/drone/push Build is failing
Fix Certbot, clean reverse proxy config
See merge request aurore/ansible!49
2020-11-05 00:04:34 +01:00
Yohann D'ANELLO
24ab53675a
Automatically renew certificates if a new domain was added
2020-11-04 23:58:27 +01:00
Yohann D'ANELLO
b1f56938e6
Remove inexistant docker host
2020-11-04 23:51:10 +01:00
Yohann D'ANELLO
03d48a2d82
Add possibility to configure port forwarding, like SSH for Gitea
2020-11-04 23:49:35 +01:00
Yohann D'ANELLO
9de65d2574
Register missing services in reverse proxy config
2020-11-04 23:26:49 +01:00
Yohann D'ANELLO
ac7696c81f
User cerbot-nginx to create certificates
2020-11-04 23:07:51 +01:00
Yohann D'ANELLO
f9b7e052b9
Store reverse proxy data in proxy host vars
2020-11-04 22:38:54 +01:00
ynerant
61f78f5bd3
Merge branch 'fix-ci' into 'master'
...
continuous-integration/drone/push Build is passing
Fix CI
See merge request aurore/ansible!48
2020-11-04 20:54:55 +01:00
Yohann D'ANELLO
ae1510ccbb
Add missing dependencies in the CI
2020-11-04 20:29:02 +01:00
Yohann D'ANELLO
0e0da24cb1
Prepare transition to Gitea, set up Drone CI
2020-11-04 20:17:37 +01:00
Yohann D'ANELLO
2eea740a66
Prepare transition to Gitea, set up Drone CI
2020-11-04 20:15:24 +01:00
Yohann D'ANELLO
1332a8f514
Use Alpine Linux to reduce test image size
2020-11-04 20:13:32 +01:00
Yohann D'ANELLO
26427665f3
Fix indentation
2020-11-04 20:11:31 +01:00
Yohann D'ANELLO
26a84ab001
A comma must be followed by at most one space
2020-11-04 20:10:47 +01:00
Yohann D'ANELLO
c11b3bc20f
Comments must start by a space
2020-11-04 20:08:51 +01:00
Yohann D'ANELLO
3aa43cd198
Enlarge max line length, some URLs didn't fit
2020-11-04 20:06:45 +01:00
Yohann D'ANELLO
9505e87113
Use true instead of yes
2020-11-04 20:00:35 +01:00
Yohann D'ANELLO
0f9169284f
Use command instead of shell
2020-11-04 19:49:49 +01:00
Yohann D'ANELLO
4c8e05e08f
Use underscore instead of dashes
2020-11-04 19:36:40 +01:00
Yohann D'ANELLO
9b8dee098e
Always set file permissions
2020-11-04 19:31:50 +01:00
Yohann D'ANELLO
d60b75109a
Upgrade python, ansiblelint and yamllint
2020-11-04 18:50:10 +01:00
Yohann D'ANELLO
0daaf14f62
dns masters ipv4 is a list (warning: RP is broken)
2020-11-04 17:02:27 +01:00
Yohann D'ANELLO
b87fe7d063
Deploy docker for Gitea and Drone
2020-11-04 03:16:37 +01:00
Yohann D'ANELLO
3c405db661
Add Drone
2020-11-04 00:29:31 +01:00
Yohann D'ANELLO
2a6c005190
Replace ansible_header by ansible_managed
2020-11-03 23:29:30 +01:00
chirac
518560b392
Add new ldap replica at ovh
2020-11-03 14:21:26 +01:00
chirac
a213e18d9c
Update Ldap priority
2020-11-02 17:25:38 +01:00
chirac
4a43c0f0db
Update re2o ip
2020-11-02 17:25:26 +01:00
chirac
16477042e8
Remove ldap-replica-backup
2020-11-02 12:22:34 +01:00
3d64f22c39
Modification du keepalive d'OpenSSHd.
...
Les serveurs OpenSSH détectent désormais la déconnexion du client et
peuvent terminer la session.
2020-10-24 19:12:35 +02:00
chirac
68f7fd5b59
Isc-dhcp-server config for banni/accueil vlans
2020-10-17 19:48:34 +02:00
chirac
0d7bfbd872
Create group for non pve physical server
2020-10-17 19:48:17 +02:00
Yohaï-Eliel BERREBY
8adf6b8105
add ipv6-edge-router role
2020-09-28 18:15:03 +02:00
chirac
ba2baa3020
Return routes now handled by keepalived
2020-09-27 13:55:56 +02:00
bba144ef14
Inverse les opérations de lecture/ecriture par defaut -> rw
...
Ce fix corrige le problème des opérations d'écritures dans la bdd master remote,
qui marchaient mal, désormais les lignes de logs historiques sont correctement écrites.
Il semblerait que django avait du mal à savoir que ces opérations reversion sont bien des opérations
d'écriture.
2020-09-19 14:02:53 +02:00
chirac
773f39cede
Fichier inutile
2020-09-16 21:04:10 +02:00
chirac
dac049f125
Tous les cron dhcp sont décalés de 2 minutes
2020-09-16 21:02:44 +02:00
chirac
57df3002a3
Fix proxy-backup -> proxy-local
2020-09-16 21:02:05 +02:00
chirac
b7978f4ec3
Add services-bdd-local
2020-09-15 19:37:59 +02:00
Yohaï-Eliel BERREBY
91157d80c1
dhcp: run re2o service as root in cron / directly
2020-09-13 17:54:46 +02:00
Yohaï-Eliel BERREBY
6dd6168d2a
dhcp: upgrade role for dhcp-aurore-backup
2020-09-12 16:03:33 +02:00
Yohann D'ANELLO
c07bf24062
Add dhcp-aurore-backup
2020-09-12 14:50:13 +02:00
chirac
f05a6507f0
Add pendragon + re2o-* vm -> aurore_vm
2020-09-12 12:13:36 +02:00
Yohaï-Eliel BERREBY
9b07fc9001
dhcp: manage dhcp-aurore
2020-09-11 15:13:11 +02:00
chirac
26743b464d
Add Radius-aurore.adm.auro.re to ansible managed radius servers
2020-09-09 23:17:15 +02:00
chirac
53842e4c2f
Add ipv6 Radius AURORE address
2020-09-09 23:16:35 +02:00
Yohaï-Eliel BERREBY
e48425300a
Merge branch 'ansible-2.10' into master
2020-09-08 22:35:30 +02:00
Yohaï-Eliel BERREBY
276a780c65
hosts: add viviane and nextcloud
2020-09-08 22:32:49 +02:00
Yohann D'ANELLO
5c46191389
Register camelot and gitea, make camelot accessible for everyone
2020-09-04 09:56:02 +02:00
Yohaï-Eliel BERREBY
646ebd3ba9
router: ansibilize routeur-aurore{,backup}
2020-08-08 20:45:38 +02:00
Yohaï-Eliel BERREBY
12b0bc91dc
radvd: cosmetic changes
2020-08-08 11:32:34 +02:00
Yohaï-Eliel BERREBY
b199c45d97
fix broken radius role
...
Would crash if called from anything other than the nuke radius DBs
playbook
2020-08-08 11:32:06 +02:00
Yohaï-Eliel BERREBY
af3c3dc132
enable radvd service
2020-08-08 11:19:16 +02:00
Yohaï-Eliel BERREBY
d98764d88e
Merge branch 'ipv6' into ansible-2.10
2020-08-06 09:58:43 +02:00
Yohaï-Eliel BERREBY
30e503458e
add ability to nuke radius DBs
2020-08-06 09:57:54 +02:00
Yohaï-Eliel BERREBY
e762091435
explain fe80::1 keepalived/radvd magic
2020-08-02 12:15:27 +02:00
Yohaï-Eliel BERREBY
de36a3bb95
announce IPv6 recursive resolver (untested)
2020-08-02 12:15:15 +02:00
Yohaï-Eliel BERREBY
8360e212cc
enable SSH pipelining (THE SPEED!)
2020-08-02 12:14:57 +02:00
Yohaï-Eliel BERREBY
3a8112bf0d
roll out (private) IPv6 on George Sand
2020-08-01 17:48:39 +02:00
Yohaï-Eliel BERREBY
361fd54414
keepalived: add IPv6 virtual route
2020-08-01 16:07:27 +02:00
Yohaï-Eliel BERREBY
2e6306b61e
radvd: advertise keepalived VIP
2020-08-01 16:05:41 +02:00
Yohaï-Eliel BERREBY
56808e4e60
wip: begin updating 'router' role for IPv6
...
pending: update virtual routes
2020-08-01 15:46:41 +02:00
Yohaï-Eliel BERREBY
194c19fbf3
fix wrong hardcoded email for keepalived monitoring
2020-08-01 15:34:49 +02:00
Yohaï-Eliel BERREBY
713c93ac44
update unbound role for IPv6
2020-08-01 14:32:02 +02:00
Yohaï-Eliel BERREBY
d54da8d2b9
add ipv6_base_prefix variable
2020-08-01 14:31:49 +02:00
Yohaï-Eliel BERREBY
468bb9abde
add radvd comment
2020-08-01 14:22:30 +02:00
Yohaï-Eliel BERREBY
f09b0906c6
radvd: fix wifi interface, comment out APs for now
2020-08-01 14:20:08 +02:00
Yohaï-Eliel BERREBY
a4841e6947
add radvd role, deploy in routers
2020-08-01 12:56:23 +02:00
Yohaï-Eliel BERREBY
a32116131d
raise MTU at fleming
...
already been deployed for a while, forgot to push
2020-08-01 12:02:37 +02:00
Alexandre Iooss
c7c6e50dd9
Remove matrix mxisd
2020-07-22 10:04:25 +02:00
fpoutre
8639887fd1
Merge branch 'ansible-2.10' of gitlab.federez.net:aurore/ansible into ansible-2.10
2020-07-06 22:28:03 +02:00
fpoutre
354a5e7d63
created a dedicated ldap_replica role
2020-07-06 22:27:53 +02:00
511734a978
Add ldap-replica-gs-backup to hosts
2020-07-06 22:06:16 +02:00
fpoutre
f7617c4478
added ldap-replica-gs to hosts
2020-07-06 18:52:46 +02:00
Yohaï-Eliel BERREBY
337906c6c0
add gs dhcp, dns, routing
...
and add thor to inventory
2020-07-06 18:40:54 +02:00
Yohaï-Eliel BERREBY
a6b15c0e10
vars: use apartment block id for subnets
2020-05-21 20:06:47 +02:00
Yohaï-Eliel BERREBY
4866ce915c
clean up README for ansible(devel)
2020-05-21 19:46:39 +02:00
Yohaï-Eliel BERREBY
63b4425a27
gs: fix vars
2020-05-21 19:45:35 +02:00
Yohaï-Eliel BERREBY
fe62055cdd
radius: enable service, fix details
2020-05-21 19:25:30 +02:00
Yohaï-Eliel BERREBY
8ce63d14b6
radius: fix settings_local.py
2020-05-21 18:39:50 +02:00
Yohaï-Eliel BERREBY
99070ed5ef
radius: step 2 of deployment (WIP)
2020-05-21 18:06:37 +02:00
Yohaï-Eliel BERREBY
e2fa1964af
radius: change proxy.conf password, use vault
...
and also actually template it... it wasn't being
uploaded.
2020-05-21 14:19:28 +02:00
Yohaï-Eliel BERREBY
266b0dde6f
radius: initial setup
2020-05-16 22:08:22 +02:00
Yohaï-Eliel BERREBY
8355546131
edc: raise DHCP-announced MTU to 1500
2020-05-14 17:50:06 +02:00
Yohaï-Eliel BERREBY
6d00e2733b
unbound: fix log rotation
...
Was too frequent, now that we only log SERVFAILs.
Rotate according to file size.
Fix unbound-control binary path.
2020-05-11 20:18:23 +02:00
Yohaï-Eliel BERREBY
87b2e4f8cf
pacaterie: raise MTU to 1500
2020-05-09 16:15:56 +02:00
Yohaï-Eliel BERREBY
ba3aec348f
keepalived: deploy to fleming w/ proper password
2020-05-09 16:07:04 +02:00
Alexandre Iooss
a992612381
Add certbot challenge DNS-01 key
2020-05-09 13:03:31 +02:00
Alexandre Iooss
9c226c680c
Certbot wildcard role
2020-05-09 12:54:38 +02:00
Alexandre Iooss
544498c81a
New reverse proxy role
2020-05-09 12:52:17 +02:00
Alexandre Iooss
eae3a3ff44
Deploy docker-worker1-aurore and proxy-backup
2020-05-09 12:21:36 +02:00
Yohaï-Eliel BERREBY
dea4dda285
hosts: remove dhcp and recursive_dns groups
...
Use patterns instead for now.
2020-05-09 10:15:28 +02:00
Pierre
3f26e7d4b4
routeur de la pacaterie en ...254 au lieu de ...240 pour keepalived
2020-05-08 18:39:05 +02:00
Yohaï-Eliel BERREBY
a4d0f051b6
dhcp: restart server on config update
2020-05-08 16:44:32 +02:00
Yohaï-Eliel BERREBY
223578eefa
keepalived: no ansible_managed
...
Used to restart keepalived needlessly
2020-05-08 16:43:49 +02:00
Yohaï-Eliel BERREBY
4372b21976
dhcp: allow different router IP suffix
...
This variable is only needed because we're in the process of deploying
keepalived. For now it's only at EDC.
2020-05-08 16:36:07 +02:00
Yohaï-Eliel BERREBY
e58ee1c4b5
keepalived: initial config
2020-05-08 16:25:02 +02:00
Yohaï-Eliel BERREBY
26524eccc5
ansible-list: allow lack of idempotence
2020-05-07 20:33:25 +02:00
Yohaï-Eliel BERREBY
e45bdcbba8
network.yml: ensure safety without --limit
2020-05-07 20:27:36 +02:00
Yohaï-Eliel BERREBY
fea73a13aa
aurore-firewall: correct backup router ip
2020-05-07 20:23:30 +02:00
Yohaï-Eliel BERREBY
8ba2de1698
aurore-firewall: fix repo address + branch
2020-05-07 20:01:44 +02:00
Yohaï-Eliel BERREBY
44be43e528
aurore-firewall: add config after cloning
2020-05-07 19:57:00 +02:00
Yohaï-Eliel BERREBY
1a10729b67
hosts: manage dhcp-edc
2020-05-07 19:48:07 +02:00
Yohaï-Eliel BERREBY
5ee7bb3069
ansible.cfg: unset scp_if_ssh
2020-05-07 19:48:07 +02:00
Yohaï-Eliel BERREBY
c77ae7f4c3
aurore-firewall: initial setup
...
group_vars: add apartment_block_id var
dhcp: move vars to role
2020-05-07 19:47:50 +02:00
Yohaï-Eliel BERREBY
268c4d2419
hosts: manage recursive DNS on EDC
2020-05-07 18:51:45 +02:00
Yohaï-Eliel BERREBY
e4d428d1dc
unbound: change task order
...
Seems to be necessary to restart unbound manually for some reason?...
2020-05-07 18:49:31 +02:00
Yohaï-Eliel BERREBY
3d742c391c
hosts: add routeur-edc-backup
2020-05-07 17:06:48 +02:00
Yohaï-Eliel BERREBY
4f224ee817
re2o-service: install Python dependencies
2020-05-07 14:55:12 +02:00
Yohaï-Eliel BERREBY
24a6063a91
baseconfig: fix resolv.conf
2020-05-07 14:51:02 +02:00
Yohaï-Eliel BERREBY
3f5e0d0035
edc: add group vars required for dhcp deployment
2020-05-07 13:03:44 +02:00
Yohaï-Eliel BERREBY
0db7713bbf
hosts: add dhcp-edc-backup
2020-05-07 12:55:19 +02:00
Yohaï-Eliel BERREBY
7c7abb6be5
baseconfig: set up /etc/resolv.conf
2020-05-07 12:53:59 +02:00
Yohaï-Eliel BERREBY
7e9c4352a0
base: group name is ldap_replica
...
It's an underscore, not a hyphen
2020-05-04 18:49:51 +02:00
Yohaï-Eliel BERREBY
9c1f186682
hosts: s/physical/pve/g, add new backup hosts
2020-05-04 18:48:00 +02:00
Alexandre Iooss
ef88d0a42b
Some clean up in hosts
2020-05-03 20:50:29 +02:00
Alexandre Iooss
36343d90fd
BangShebang!
2020-05-03 18:45:07 +02:00
Alexandre Iooss
dc2db3d6a3
Decomment hosts
2020-05-03 18:40:26 +02:00
Alexandre Iooss
3b72e2fe2d
Remove SSH blacklist
2020-05-03 17:26:10 +02:00
Alexandre IOOSS
e42bdd53a8
Merge branch 'aurore-dev' into 'master'
...
Aurore dev
See merge request aurore/ansible!47
2020-05-03 16:11:29 +02:00
Alexandre IOOSS
81592fa986
Merge branch 'master' into 'aurore-dev'
...
# Conflicts:
# .gitignore
# hosts
# network.yml
# proxmox.yml
2020-05-03 16:11:19 +02:00
Yohaï-Eliel BERREBY
29991141f5
misc: add script to copy SSH keys
...
This one has the advantage of actually working :)
I had to blacklist some hosts because they would either outright refuse
connections or would refuse my LDAP credentials.
2020-05-03 11:26:53 +02:00
Yohaï-Eliel BERREBY
a77b2c4f0f
unbound: fix MTU settings
...
That was the root cause of all our DNSSEC issues.
Now that this was fixed, we're not having these anymore,
so the relaxed checks can be restored back to their original state.
2020-05-02 18:59:22 +02:00
Yohaï-Eliel BERREBY
aae7e0120a
unbound: drop verbosity but log SERVFAILs
...
TODO: less frequent log rotation because of decreased log volume
2020-05-02 18:06:58 +02:00
Yohaï-Eliel BERREBY
c54e8f5d67
unbound: smarter logging
...
- stop using journald, write to /var/log/unbound/
- set up frequent log rotation for the huge log files
we are producing
2020-05-02 17:13:01 +02:00
Yohaï-Eliel BERREBY
1dca5d2259
unbound: use handlers
...
Only restart unbound if the configuration
was actually updated.
2020-05-02 16:43:44 +02:00
Yohaï-Eliel BERREBY
b94c62d710
unbound-control: no certificates for local use
2020-05-02 16:37:21 +02:00
Yohaï-Eliel BERREBY
3695a3d771
unbound: attempt to fix spurious blacklisting
2020-04-28 23:14:43 +02:00
Yohaï-Eliel BERREBY
b4482b6d3b
unbound: configure unbound-control
2020-04-28 20:21:47 +02:00
Yohaï-Eliel BERREBY
bac131791b
unbound: bump verbosity up to 3
...
Some users are having issues resolving *.auro.re domains from our
network, and the bug does not show itself reliably. Increased verbosity
should help us pinpoint its source.
2020-04-28 20:13:56 +02:00
Yohaï-Eliel BERREBY
ded5f38aec
unbound: name set_fact tasks
2020-04-18 17:36:25 +02:00
7234d90fae
Merge branch 'dns' into 'aurore-dev'
...
Finalisation du déploiement d'unbound
See merge request aurore/ansible!46
2020-04-18 17:10:22 +02:00
Yohaï-Eliel BERREBY
662452065f
dhcp: remove Cloudflare from backup DNS
...
and rename variable, since these are not technically
upstream DNS servers
(unbound will ask the root servers, not these)
2020-04-18 17:06:38 +02:00
Yohaï-Eliel BERREBY
12022389c4
hosts: enable dhcp deployment on fleming
2020-04-18 16:57:18 +02:00
Yohaï-Eliel BERREBY
a0651d7703
unbound: bind to the right addresses on backup hosts
2020-04-18 16:56:34 +02:00
Yohaï-Eliel BERREBY
b57fa6e356
dhcp: use backup DNS servers too
2020-04-18 16:56:34 +02:00
Yohaï-Eliel BERREBY
22166bc69b
unbound: log to journalctl
2020-04-18 16:56:17 +02:00
Yohaï-Eliel BERREBY
bfc7d542df
hosts: add all DNS VMs from fleming and pacaterie
2020-04-18 15:43:39 +02:00
Yohaï-Eliel BERREBY
1777d0e154
unbound: log to /var/log/unbound.log, errors only
2020-04-18 15:42:31 +02:00
Yohaï-Eliel BERREBY
7275ebda47
dhcp: ask clients to use our DNS servers
2020-04-18 15:39:32 +02:00
chirac
59b9059116
Merge branch 'dns' into 'aurore-dev'
...
Déploiement basique de serveur DNS récursif
See merge request aurore/ansible!45
2020-04-13 19:08:32 +02:00
Yohaï-Eliel BERREBY
f05e92dc5e
unbound: remove unchecked configuration keys
2020-04-13 18:42:02 +02:00
Yohaï-Eliel BERREBY
b3712ed335
unbound: initial deployment
2020-04-13 18:41:12 +02:00
Yohaï-Eliel BERREBY
9b043d95d3
dhcp: don't touch pacaterie yet
2020-04-06 19:06:53 +02:00
Yohaï-Eliel BERREBY
8fee0857c1
re2o-service: force clone git repository
2020-04-06 19:03:38 +02:00
Yohaï-Eliel BERREBY
8579b99b2e
dhcp: cron.d entry + let main.py restart the server
2020-04-06 19:03:10 +02:00
Yohaï-Eliel BERREBY
6cce62850d
dhcp: configure log rotation
2020-04-06 17:58:14 +02:00
Yohaï-Eliel BERREBY
7347829494
tackle logs
2020-04-06 17:48:56 +02:00
Yohaï-Eliel BERREBY
51fdb89940
extract dhcp-failover.conf into separate file
2020-04-06 17:28:04 +02:00
Yohaï-Eliel BERREBY
d323b78c16
fix bogus dhcpd config
...
- move failover peer declaration to beginning of file
- set split only on primary
- fix re2o-service hostname
- add /etc/default/isc-dhcp-server
2020-04-06 17:22:50 +02:00
Yohaï-Eliel BERREBY
e760f9ad91
re2o-service: fix hostname
2020-04-06 16:53:59 +02:00
Yohaï-Eliel BERREBY
89a0dc57ab
run corresponding re2o-service on DHCP servers
2020-04-06 16:49:14 +02:00
Yohaï-Eliel BERREBY
01439c2388
fix network.yml syntax
2020-04-06 16:37:10 +02:00
F/Poutre
7ed34f79bd
Update network.yml
2020-04-06 16:31:32 +02:00
F/Poutre
fc21a5fa3d
Update base.yml
2020-04-06 16:30:52 +02:00
Yohaï-Eliel BERREBY
34b448faec
dhcp: implement failover peer configuration
2020-04-06 14:41:34 +02:00
Yohaï-Eliel BERREBY
2a0a2e2ac6
dhcp: fix silly mix-ups
2020-04-06 13:20:52 +02:00
Yohaï-Eliel BERREBY
6b369d5b28
fix ProxyJump in README
2020-04-05 19:51:03 +02:00
Yohaï-Eliel BERREBY
709e4614c2
suppression d'une déclaration DNS redondante
2020-04-05 19:04:03 +02:00
Yohaï-Eliel BERREBY
e6b2f80b49
templatisation de la config dhcpd
...
non encore testé
2020-04-05 18:44:37 +02:00
fpoutre
40e915a7e0
happy little mistakes
2020-03-22 19:06:38 +01:00
fpoutre
0e61fcff90
added support for ldap-replicas in the base.yml for edc and gs
2020-03-22 18:43:57 +01:00
fpoutre
23f1b7a4a1
added support for edc and gs in ldap replica backup configuration
2020-03-22 18:42:00 +01:00
fpoutre
b7b32dc496
modified the master_ldap_uri to use a ndd
2020-02-20 19:08:09 +01:00
fpoutre
c0692c9ea8
added ldap-replica support for ldap-clients of pacaterie and fleming
2020-02-20 18:42:57 +01:00
fpoutre
3a399bd04c
added ldap-replica support for ldap-clients of pacaterie and fleming
2020-02-20 18:42:34 +01:00
fpoutre
73a22ba77f
added group ldap-replica to hosts
2020-02-20 16:51:56 +01:00
fpoutre
08fcf49e62
modified mainly hosts to match new servers and vms
2020-02-20 16:23:10 +01:00
fpoutre
d9f2d06c44
added aurore's hosts
2020-02-15 21:33:57 +01:00
Alexandre Iooss
a44c7064d2
Add more logic
2019-12-05 14:08:08 +01:00
Alexandre Iooss
5061a029e0
Do not ask why, it was not there
2019-12-05 14:07:48 +01:00
Alexandre Iooss
b60ca7111a
Mini useful script
2019-12-05 14:07:13 +01:00
Alexandre Iooss
639fbbcd28
test séminaire
2019-12-02 20:33:29 +01:00
Alexandre Iooss
07e71659ef
Monitor Unifi AP
2019-11-01 19:02:21 +01:00
Alexandre Iooss
ccbd7d3770
Failover VMs
2019-11-01 15:38:35 +01:00
Alexandre Iooss
6dec3ed0d1
Proxmox playbook and unifi ap
2019-11-01 15:17:59 +01:00
Alexandre Iooss
5b3ac2a21a
Merge crans version
2019-11-01 14:16:32 +01:00
fpoutre
203815c429
modified hosts and network playbook
2019-09-01 21:53:51 +02:00
fpoutre
a03c775dbd
ajout des vm de DS et d'EdC, ajout de qqes hôtes
2019-09-01 13:27:58 +02:00
Alexandre Iooss
6c1d904791
Vault in passbolt
2019-09-01 11:18:23 +02:00
Alexandre Iooss
e91d47ea8d
Update matrix conf
2019-08-29 07:04:37 +02:00
Alexandre Iooss
6cc0a6a6b7
Remove appservice Discord
2019-08-29 07:03:54 +02:00
Alexandre Iooss
743e902e85
Refractor ldap
2019-08-29 07:03:05 +02:00
Alexandre Iooss
e15ea7854a
Base config sync with crans
2019-08-29 07:02:15 +02:00
Alexandre Iooss
281a2dcadf
Add fleming network infra
2019-07-27 21:31:33 +02:00
Alexandre Iooss
2be40222fc
Add fleming conf
2019-07-26 22:47:10 +02:00
Alexandre Iooss
044e8af3aa
Move EtherPad to Docker
2019-07-26 08:50:07 +02:00
Alexandre Iooss
b488007578
[docker] Install docker-compose
2019-07-25 19:10:50 +02:00
Alexandre Iooss
5ee1172861
Fix monitoring
2019-07-25 11:28:17 +02:00
Alexandre Iooss
e0b69be43a
Add privatebin to proxy
2019-07-25 11:05:21 +02:00
Alexandre Iooss
24331ca25b
Fix CI
2019-07-22 21:04:58 +02:00
Alexandre Iooss
2e753db873
Indicate unifi role
2019-07-22 21:00:13 +02:00
Alexandre Iooss
7161d59157
Update inventory to Ansible 2.8
2019-07-22 20:57:44 +02:00
Alexandre Iooss
a2e9ab7d3f
Merge crans Ansible conf
2019-07-22 20:57:32 +02:00
Alexandre Iooss
7f07556cfa
Merge LDAP into base playbook
2019-07-22 20:57:16 +02:00
Alexandre Iooss
694501dfa3
Merge crans monitoring
2019-07-22 20:56:43 +02:00
Alexandre Iooss
e86cb23660
network playbook
2019-07-22 19:17:54 +02:00
Alexandre Iooss
4a3851acc8
Clean up playbooks
2019-07-22 19:17:38 +02:00
Alexandre Iooss
a45ca1a890
Move CodiMD to Docker
2019-07-22 19:14:43 +02:00
Alexandre Iooss
9a35650166
Move Riot web to docker
2019-07-22 10:32:34 +02:00
Alexandre Iooss
66d870ce36
Add docker role
2019-07-22 10:32:01 +02:00
Alexandre Iooss
9018c69da3
Fix matrix v1
2019-07-22 09:12:55 +02:00
Alexandre Iooss
1ed6228728
Simplify help message on server login
2019-05-26 13:03:09 +02:00
Alexandre IOOSS
cda40556a2
Merge branch 'passbolt' into 'master'
...
Passbolt
See merge request aurore/ansible!44
2019-05-26 12:56:52 +02:00
Alexandre Iooss
2e0679a973
[passbolt] Add some dep
2019-05-26 12:52:41 +02:00
Alexandre Iooss
a986ecd36a
Passbolt playbook
2019-05-23 07:28:44 +02:00
Alexandre Iooss
81b24357ca
Add passbolt and vpn-ovh
2019-05-23 07:00:27 +02:00
Alexandre Iooss
72a60a988b
Unifi playbook
2019-05-07 18:52:07 +02:00
Alexandre Iooss
3a6a891aad
Add unifi-pacaterie
2019-05-07 18:51:22 +02:00
Alexandre Iooss
b6573e68ae
Exclude Stretch from node config
2019-05-05 16:24:04 +02:00
Alexandre Iooss
c53d62712f
Make prometheus node exporter listen only on adm
2019-05-05 16:17:52 +02:00
Alexandre Iooss
95f24b69af
Monitor all pacaterie
2019-05-05 14:26:38 +02:00
Alexandre Iooss
c1c995e38d
Prometheus role
2019-05-05 14:07:04 +02:00
Alexandre IOOSS
091bf9a0d8
Merge branch 'dhcp' into 'master'
...
DHCP service
See merge request aurore/ansible!43
2019-05-05 13:17:59 +02:00
Alexandre Iooss
681c79b2f5
DNS playbook
2019-05-04 18:56:27 +02:00
Alexandre Iooss
d5a7ce8bb4
Add a radius at pacaterie
2019-05-04 18:44:54 +02:00
Alexandre Iooss
8dc40ecb1e
Specify git branch
2019-05-04 18:43:20 +02:00
Alexandre Iooss
61e99ed0b1
Change serviceuser passwd
2019-05-04 12:08:48 +02:00
Alexandre Iooss
8b7d4207b8
Autogenerate service config
2019-05-04 11:46:54 +02:00
Alexandre Iooss
5939d434fd
Beginning of isc-dhcp-server config
2019-05-04 10:54:51 +02:00
Alexandre Iooss
41eb131e69
Fix true values being yes
2019-05-03 22:50:48 +02:00
Alexandre Iooss
81ca7a177d
Initial DHCP re2o service
2019-05-03 22:42:55 +02:00
Alexandre Iooss
aab2daf5b7
Fix Riot depo key
2019-05-03 22:42:12 +02:00
Alexandre Iooss
5e738f40a7
Uniformize motd
2019-05-03 15:52:50 +02:00
Alexandre Iooss
1bcd9741f9
Python 3 by default
2019-05-03 14:46:58 +02:00
Alexandre Iooss
32744ca6b6
Add new pacaterie vms
2019-05-03 14:46:24 +02:00
Alexandre IOOSS
1cc6bc744b
Merge branch 'change_default_soft' into 'master'
...
Add screen and remove iPython2
See merge request aurore/ansible!20
2019-05-03 14:38:49 +02:00
Alexandre IOOSS
94c5b7c1df
Merge branch 'autoproxmox' into 'master'
...
Create VM with Proxmox API
See merge request aurore/ansible!42
2019-05-03 13:13:43 +02:00
Alexandre Iooss
d761c51c6f
Fix identation
2019-05-03 13:11:39 +02:00
Alexandre Iooss
0c8763c702
Create VM with Proxmox API
2019-05-03 13:06:26 +02:00
Alexandre IOOSS
8b8de00dbb
Merge branch 'parallelism' into 'master'
...
Parallelism
See merge request aurore/ansible!41
2019-04-07 17:03:21 +02:00
Alexandre IOOSS
1e7dce0d73
Merge branch 'move_pve' into 'master'
...
Move new PVE
See merge request aurore/ansible!40
2019-04-07 17:01:29 +02:00
Alexandre Iooss
110389ae7c
Parallelism
2019-04-07 17:00:29 +02:00
Alexandre Iooss
104cc3d09e
Move new PVE
2019-04-07 16:59:19 +02:00
Alexandre IOOSS
11173eef23
Merge branch 'no_handler_systemd' into 'master'
...
Remove useless systemd handler
See merge request aurore/ansible!39
2019-04-06 15:24:27 +02:00
Alexandre Iooss
55cf8b801d
Remove useless systemd handler
2019-04-06 15:19:52 +02:00
Alexandre IOOSS
df6c966b7f
Merge branch 'matrix_appservices_conf' into 'master'
...
Matrix appservices conf
See merge request aurore/ansible!38
2019-04-01 18:58:41 +02:00
Alexandre Iooss
1b3a6f7bf8
Configure IRC Matrix appservice
2019-04-01 18:53:37 +02:00
Alexandre Iooss
84694900e4
Annonce the right Webhook URL for Matrix
2019-04-01 17:57:43 +02:00
Alexandre Iooss
2158c5c6b9
Pass Matrix Webhook through reverse proxy
2019-04-01 17:57:20 +02:00
Alexandre IOOSS
98c6364394
Merge branch 'generic_services' into 'master'
...
Generic services
See merge request aurore/ansible!37
2019-04-01 17:53:49 +02:00
Alexandre Iooss
88b9356f7d
Make CodiMD role more generic
2019-03-30 13:34:25 +01:00
Alexandre Iooss
48d521fb00
Use generic service model for matrix appservices
2019-03-30 13:26:20 +01:00
Alexandre IOOSS
e1a3dda771
Merge branch 'generic_matrix_appservice' into 'master'
...
Simplify Matrix appservices
See merge request aurore/ansible!36
2019-03-30 09:13:35 +01:00
Alexandre Iooss
5ccb94e621
Simplify Matrix appservices
2019-03-29 19:25:11 +01:00
Alexandre IOOSS
d9aab6cfd2
Merge branch 'various_fixes' into 'master'
...
Fix so everything is working fine today
See merge request aurore/ansible!35
2019-03-26 09:20:27 +01:00
Alexandre Iooss
d4d6baed1a
Fix so everything is working fine today
2019-03-26 09:17:46 +01:00
Alexandre IOOSS
00ccc4c377
Merge branch 'refactor' into 'master'
...
Refactor
See merge request aurore/ansible!30
2019-03-26 08:36:21 +01:00
Alexandre IOOSS
24429ca7b4
Merge branch 'riot_config' into 'master'
...
Default configuration for Riot
See merge request aurore/ansible!34
2019-03-26 08:34:18 +01:00
Alexandre Iooss
ee4f144b4a
Default configuration for Riot
2019-03-26 08:30:02 +01:00
Alexandre IOOSS
9731832797
Merge branch 'fix_vfat_pve' into 'master'
...
Fix PVE unable to mount vfat at boot
See merge request aurore/ansible!33
2019-03-25 10:58:40 +01:00
Alexandre Iooss
7950191a53
Fix PVE unable to mount vfat at boot
2019-03-25 10:55:51 +01:00
Alexandre IOOSS
077db64576
Merge branch 'update_discord_appservice' into 'master'
...
Switch discord appservice to develop
See merge request aurore/ansible!32
2019-03-24 17:08:13 +01:00
Alexandre Iooss
11e084a104
Switch discord appservice to develop
2019-03-24 17:05:24 +01:00
Alexandre IOOSS
40e63ba89e
Merge branch 'discord_matrix' into 'master'
...
Discord matrix
See merge request aurore/ansible!31
2019-03-24 12:44:23 +01:00
Alexandre Iooss
bbc04d971f
Working appservice Discord
2019-03-24 12:10:35 +01:00
Hadrien Patte
66f7b1061a
Feat: migrate from with_X to loop
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-23 20:11:27 +01:00
Hadrien Patte
c20d4fbf18
Feat: expand YAML syntax
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-23 20:05:45 +01:00
Hadrien Patte
8a48110c21
Feat: add validate for sudoers
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-23 20:05:45 +01:00
Hadrien Patte
737ca7b996
Feat: add state
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-23 20:05:42 +01:00
Hadrien Patte
e4a60341c5
Feat: simplify one item lists
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-23 20:04:35 +01:00
Hadrien Patte
5551fb5c16
Fix: remove unnecessary quotes
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-23 20:04:33 +01:00
Hadrien Patte
8463f1cf96
Feat: use ini_file module
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-23 19:21:59 +01:00
Alexandre IOOSS
8da9e10a51
Merge branch 'sudo_location' into 'master'
...
sudo group by location
See merge request aurore/ansible!29
2019-03-23 13:52:51 +01:00
Alexandre Iooss
489bb5ddcf
sudo group by location
2019-03-23 13:49:53 +01:00
Alexandre IOOSS
a8d8e312e0
Merge branch 'whitelist_fail2ban' into 'master'
...
Whitelist proxy
See merge request aurore/ansible!28
2019-03-23 13:04:24 +01:00
Alexandre Iooss
01ad50ef95
Whitelist proxy
2019-03-23 13:00:18 +01:00
Alexandre Iooss
bd229fb11e
Update matrix-appservice-discord config
2019-03-23 12:52:39 +01:00
Alexandre IOOSS
b889cec431
Merge branch 'setup-pacat' into 'master'
...
Add Pacaterie to inventory
See merge request aurore/ansible!27
2019-03-18 18:53:34 +01:00
Alexandre Iooss
9c5f021fd6
Add Pacaterie to inventory
2019-03-18 18:49:35 +01:00
Alexandre IOOSS
cd00daaad9
Merge branch 'fix_matrix_webhooks' into 'master'
...
Changed URL to make the Webhooks appservice work
See merge request aurore/ansible!26
2019-03-17 10:45:47 +01:00
Alexandre Iooss
3198a50c93
Changed URL to make the Webhooks appservice work
2019-03-17 10:42:43 +01:00
Alexandre IOOSS
2b79f9117e
Merge branch 'debsums_security' into 'master'
...
Configure SSH and add debsums
See merge request aurore/ansible!25
2019-03-16 22:09:40 +01:00
Alexandre Iooss
724db5f8c8
Configure SSH and add debsums
2019-03-16 22:06:50 +01:00
Alexandre IOOSS
b370cc364a
Merge branch 'fix_http' into 'master'
...
Hotfix HTTP
See merge request aurore/ansible!24
2019-03-16 21:12:41 +01:00
Alexandre Iooss
a3b7cf6270
Hotfix HTTP
2019-03-16 21:10:00 +01:00
Alexandre IOOSS
c38c1aedc1
Merge branch 'secure_ssh' into 'master'
...
Fail2ban by default
See merge request aurore/ansible!23
2019-03-14 15:49:12 +01:00
Alexandre Iooss
221be36085
Fail2ban by default
2019-03-14 15:45:19 +01:00
Alexandre IOOSS
258bf1f90c
Merge branch 'nginx_security' into 'master'
...
Add proxy snippets and use nginx-light
See merge request aurore/ansible!22
2019-03-14 12:28:05 +01:00
Alexandre Iooss
fb11981e8a
Follow Mozilla guidelines
2019-03-14 12:25:27 +01:00
Alexandre Iooss
af07bb7c0a
Better SSL conf
2019-03-14 11:53:55 +01:00
Alexandre Iooss
a8fa5d69ff
Add proxy snippets and use nginx-light
2019-03-14 10:53:44 +01:00
Alexandre IOOSS
f9473d0769
Merge branch 'matrix-appservice-webhooks' into 'master'
...
Matrix appservice webhooks
See merge request aurore/ansible!21
2019-03-12 20:04:18 +01:00
Alexandre Iooss
0cc36a107c
Fix CI
2019-03-12 19:58:55 +01:00
Alexandre Iooss
c9761e53dd
Connect to Synapse
2019-03-12 18:33:32 +01:00
Alexandre Iooss
1a447b3807
Add matrix-appservice-webhooks and move nodejs tasks
2019-03-12 18:03:23 +01:00
Alexandre IOOSS
fa7aa8ea75
Merge branch 'master' into 'change_default_soft'
...
# Conflicts:
# roles/baseconfig/tasks/main.yml
2019-03-12 17:27:23 +01:00
Alexandre IOOSS
f7476481c2
Merge branch 'ansible-lint' into 'master'
...
Add ansible-lint to the CI pipeline
See merge request aurore/ansible!15
2019-03-12 17:25:44 +01:00
Alexandre Iooss
bc1459bc51
Fix various yamllint warnings
2019-03-12 17:22:42 +01:00
Alexandre Iooss
5dfd8eacc5
Replace 'yes' by 'true'
2019-03-12 17:04:06 +01:00
Alexandre Iooss
431b063db7
Maybe last fix for the CI
2019-03-12 16:56:01 +01:00
Alexandre Iooss
cc48990798
Use NPM module in matrix-appservice-discord
2019-03-12 16:51:27 +01:00
Alexandre Iooss
4a6da11837
Clean up EtherPad dep install
2019-03-12 16:34:35 +01:00
Alexandre Iooss
a8656251ab
Tab is useless in sudoers
2019-03-12 07:48:09 +01:00
Alexandre Iooss
dd19efaecd
Do not download rest_auth_provider.py
2019-03-12 07:47:07 +01:00
Alexandre Iooss
16ca4956dc
Make EtherPad default text shorter
2019-03-11 18:15:17 +01:00
Alexandre Iooss
4b5631e60b
Retry 3 times npm and yarn
2019-03-11 18:12:55 +01:00
Alexandre Iooss
b9d5601e36
Remove useless PRODUCTION var for webpack CodiMD
2019-03-11 18:10:35 +01:00
Alexandre Iooss
84263d7712
Do not use depreciated loop with APT
2019-03-11 18:02:29 +01:00
Alexandre Iooss
53b67acb07
Fix a error due to previous merge
2019-03-11 17:53:12 +01:00
Alexandre Iooss
b56ae30335
Use YARN module from Ansible 2.7
2019-03-11 17:49:48 +01:00
Alexandre Iooss
af81b41e83
Use NPM module for matrix-appservice-irc
2019-03-11 17:44:42 +01:00
Alexandre Iooss
4ebaa4f36f
Add retries to APT modules in Matrix Appservices
2019-03-11 15:39:11 +01:00
Alexandre Iooss
1274ec4be4
Fix last line of CodiMD apt dep
2019-03-11 15:30:49 +01:00
Alexandre Iooss
f347daa408
Use systemd module rather than command
2019-03-11 15:12:58 +01:00
Alexandre Iooss
563d9658ed
Add newline at end of 0_apt_dependencies.yml in CodiMD role
2019-03-11 15:10:17 +01:00
Alexandre IOOSS
1a4e41d318
Merge branch 'master' into 'ansible-lint'
...
# Conflicts:
# roles/codimd/tasks/0_apt_dependencies.yml
2019-03-11 15:00:11 +01:00
Alexandre Iooss
ce40a5cb66
Add screen and remove iPython2
2019-03-11 14:55:21 +01:00
Alexandre IOOSS
4dfdc74bd8
Merge branch 'basesecurity' into 'master'
...
Security policies based on ANSSI recommandations
See merge request aurore/ansible!19
2019-03-11 14:52:56 +01:00
Alexandre Iooss
a08be12b41
Security policies based on ANSSI recommandations
2019-03-11 14:52:03 +01:00
Alexandre IOOSS
d5d7d6fde5
Merge branch 'add_matrix_services' into 'master'
...
Add matrix services
See merge request aurore/ansible!16
2019-03-11 14:26:10 +01:00
Alexandre IOOSS
2391ddcd2d
Merge branch 'vulcain_ansible' into 'master'
...
Ajout des machines setup à la pacaterie
See merge request aurore/ansible!18
2019-03-11 14:24:25 +01:00
Vulcain
761695f992
ajout des machines setup à la pacaterie
2019-03-10 18:46:37 +01:00
Alexandre Iooss
0b887c2abb
Add matrix-appservice-irc
2019-03-10 11:50:07 +01:00
Alexandre Iooss
d6627f5cce
Add matrix-appservice-discord
2019-03-10 11:10:59 +01:00
Alexandre Iooss
7302c83f60
Add new container
2019-03-09 10:18:10 +01:00
Alexandre IOOSS
a03092a5e0
Merge branch 'codimd_1_3' into 'master'
...
Update to CodiMD 1.3.0
See merge request aurore/ansible!14
2019-03-04 16:05:17 +01:00
Alexandre Iooss
c7f584cae9
Fix CodiMD build
2019-03-04 16:04:36 +01:00
Alexandre Iooss
68d246bb24
Update to CodiMD 1.3.0
2019-03-04 15:08:05 +01:00
Hadrien Patte
b55a2ee047
Fix: add a retry statement to remote package tasks
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-03 19:55:51 +01:00
Hadrien Patte
4555ca782b
Feat: update ansible-lint to version 4.0.0
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-03 19:55:32 +01:00
Hadrien Patte
5c5195cc2c
Fix: use systemd instead of command module
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-03 19:32:42 +01:00
Hadrien Patte
b49bd3620b
Feat: add ansible-lint to the CI pipeline
...
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-03 19:06:33 +01:00