Commit graph

81 commits

Author SHA1 Message Date
Patrick Marchand a6213719ae Add linting step to the ci
We will need to go through code and ignore any warnings we dont want to fix.
2020-06-03 16:45:42 -04:00
Jérémy Dubois e29e0e9e62 Ansible-lint and yamllint again
Lot of truthy variables, indentation and trailing spaces
2020-06-01 11:37:15 +02:00
Patrick Marchand af7b3b36fe Ansible-lint and yamllint
Does not fix all warnings, but gets rid of the purely cosmetic ones.
(roles/accounts/tasks/main.yml)
2020-05-22 11:49:18 -04:00
Jérémy Dubois 38e5c1bf70 Add OpenBSD version in computerOS field of ldap.sh 2020-05-22 11:34:47 +02:00
Jérémy Dubois 2177d43637 Import Evomaintenance 0.6.3 2020-05-18 17:30:54 +02:00
Jérémy Dubois 1014dab37b Escaping percent sign in crontab for bgp role 2020-05-15 16:25:58 +02:00
Tristan PILAT 6ae49f147d Fix group name in evocheck install task 2020-05-12 18:21:20 +02:00
Tristan PILAT 064055b5c8 Execute Evocheck at the end of the Evolixisation process 2020-05-12 15:05:07 +02:00
Tristan PILAT 1829b0b717 Add evocheck to the roles called during the Evolixisation process 2020-05-12 15:04:05 +02:00
Tristan PILAT 12f7e347da Add initial version of an evocheck role 2020-05-12 15:01:46 +02:00
Jérémy Dubois 2de4227651 Merge pull request 'Enhance ospfd_simple check' (#19) from enhance_check_ospfd_simple into dev
Reviewed-by: Patrick Marchand <pmarchand@noreply.gitea.evolix.org>
2020-04-29 15:46:20 +02:00
Tristan Pilat 2c9bad859d Merge pull request 'Writing of ospf and bgp roles' (#29) from ospf_and_bgp into dev
Reviewed-by: Tristan Pilat <drustan@noreply.gitea.evolix.org>
2020-04-24 15:00:31 +02:00
Tristan Pilat 96b3d43342 Merge pull request 'Reordering of the list of NRPE checks' (#30) from reorder_nrpe_checks into dev
Reviewed-by: Tristan Pilat <drustan@noreply.gitea.evolix.org>
2020-04-24 14:22:17 +02:00
Tristan Pilat d0108d6e3f Merge pull request 'Customize newsyslog' (#31) from customize_newsyslog into dev
Reviewed-by: Patrick Marchand <pmarchand@noreply.gitea.evolix.org>
2020-04-24 14:16:15 +02:00
Jérémy Dubois c45c68c1b0 Add execute permission to OpenVPN check 2020-04-22 15:43:56 +02:00
Jérémy Dubois cb2be6ecd2 Change wtmp rotation period 2020-04-22 15:17:46 +02:00
Jérémy Dubois 9b1f5c0f6c Customize newsyslog.conf 2020-04-22 15:06:53 +02:00
Jérémy Dubois 6cf81802be Reordering of the list of NRPE checks
With deletion of unused check_onduleur
and correction of check_connections_state location
2020-04-22 14:30:26 +02:00
Jérémy Dubois 71e0acb7e7 Functional and better ospfd check 2020-04-22 12:08:55 +02:00
Jérémy Dubois 634cfee774 Writing of ospf and bgp roles 2020-04-22 11:59:41 +02:00
Jérémy Dubois 58851556bf Add file to .gitignore 2020-04-21 19:24:02 +02:00
Jérémy Dubois 27006f8db7 Doas permissions rearrangement 2020-04-21 16:18:07 +02:00
Jérémy Dubois 267163ba93 Correcting a typo 2020-04-21 16:15:29 +02:00
Jérémy Dubois 05d2b707e1 Add OpenBGPD nrpe check with doas configuration 2020-04-21 14:25:42 +02:00
Jérémy Dubois 1ba892ef01 Improve NRPE OpenVPN check 2020-04-21 14:14:49 +02:00
Jérémy Dubois caf151d05c Import last evobackup client script
The only difference from Debian version is that /srv does not exist on OpenBSD
and is removed from the backup directory list

Close #21
2020-04-21 11:42:52 +02:00
Jérémy Dubois c6e3f06fd6 Add .gitignore file 2020-04-21 11:40:31 +02:00
Jérémy Dubois f57e0e24f0 Change in depreciated options
Packages list and comparisons will have a new syntax with future ansible version
2020-04-21 11:35:45 +02:00
Jérémy Dubois 29afa42c3d Deletion of mailevomaintenance.sh
We now use the git status cron for uncommited changes
2020-04-21 11:30:40 +02:00
Jérémy Dubois 10d56cad1e Correction of the stricter ssh access commit
evolinux_ssh_group was missing
2020-04-21 11:27:43 +02:00
Jérémy Dubois 337dcb9438 Make evolixisation playbook more complete
- Specification of the different possible uses of the playbook
- Addition of the openvpn role, commented by default
- No use of the PKG_PATH variable, which is no longer useful since OpenBSD 6.1 installurl.
2020-04-21 11:15:27 +02:00
Tristan Pilat 9c716c5d68 Merge branch 'stricter-access-control' of evolix/EvoBSD into dev
The changes look good to me. Let's merge to dev!
2019-11-25 10:03:45 +01:00
Tristan PILAT 70135252c0 Import Evomaintenance 0.6.1 2019-11-19 16:28:12 +01:00
Tristan PILAT f88538858b Import Evomaintenance 0.6.0 2019-11-14 15:07:09 +01:00
Tristan PILAT 02658b6b1d Add first version of an OpenVPN role 2019-10-30 11:00:29 +01:00
Tristan PILAT 8be45548a2 Since yspatch can apply stable patches, we no longer need to install openup 2019-10-29 17:59:33 +01:00
Patrick Marchand 67d6c0ab62 revert forgotten extra variables in main 2019-09-19 17:12:21 -04:00
Patrick Marchand 8b1ce861e3 Add stricter ssh and doas access 2019-09-19 17:07:01 -04:00
Tristan PILAT d736455327 Please, we don't want the mouse function enabled in vim 2019-09-17 10:43:37 +02:00
Tristan Pilat 6b309ee32c Merge branch 'evomaintenance_22_08_19' of evolix/EvoBSD into dev
Cool
2019-09-17 10:38:03 +02:00
Patrick Marchand 3e3eb695b4 Merge branch 'replace_sudo_with_doas' into dev
Any new checks should use doas as well.
2019-09-03 17:43:22 +02:00
Patrick Marchand 0160a259c1 Accept new 'check_dhcpd' check into dev 2019-09-03 17:39:36 +02:00
Patrick Marchand 18ac01cbb3 Apply latest dev branch to check_dhcpd branch 2019-09-03 11:38:34 -04:00
Patrick Marchand e1576b5861 Accept new check connections_state with doas 2019-09-03 17:36:54 +02:00
Patrick Marchand a994225c27 Merge check_connections_state into dev 2019-09-03 11:34:14 -04:00
Tristan PILAT 70e49781d9 Import evomaintenance after last overhaul 2019-08-22 17:24:03 +02:00
Jérémy Dubois f0c4b2f414 Enhance ospfd_simple check
The condition did not work properly
2019-07-22 15:56:35 +02:00
Jérémy Dubois f305b3420b Replace all sudo occurences with doas 2019-07-15 18:25:25 +02:00
Jérémy Dubois 6b55368234 Improve script and add comments 2019-07-15 17:48:51 +02:00
Jérémy Dubois a23a6efca8 Replace sudo with doas 2019-07-15 17:44:05 +02:00