Commit graph

72 commits

Author SHA1 Message Date
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
Jérémy Lecour 0622e9ff1e fix non-breaking spaces 2022-12-14 11:47:53 +01:00
Jérémy Lecour 665177556e evomaintenance: allow missing API endpoint if APi is disabled 2022-11-26 19:09:05 +01:00
Jérémy Lecour 0d086731ae evomaintenance: upstream release 22.07
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
continuous-integration/drone/push Build is passing
2022-07-27 15:49:41 +02:00
Jérémy Lecour dd2072b86b minifirewall: fix failed_when conditions on restart
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-10 16:40:45 +02:00
Ludovic Poujol 0e768809b7 evomaintenance: Make it work on non-debian systems 2022-03-15 10:53:16 +01:00
Jérémy Lecour 544b213529 evomaintenance: Upstream release 22.01 2022-01-25 14:56:39 +01:00
Jérémy Lecour 73f55a42fa forgotten file 2021-08-30 09:26:04 +02:00
Jérémy Lecour 65750d2aa6 evomaintenance: extract a config.yyml tasks file 2021-08-30 09:24:57 +02:00
Jérémy Lecour 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
Jérémy Lecour fe9b7ee5f7 evomaintenance: upstream release 0.6.4
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-17 10:57:07 +02:00
Jérémy Dubois 60f2f19402 Delete OpenBSD support
All checks were successful
continuous-integration/drone/push Build is passing
The EvoBSD repository must be used for OpenBSD
2021-05-17 10:44:07 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Jérémy Lecour 4718138eca evomaintenance: install the embedded script by default 2020-03-21 19:07:26 +01:00
Jérémy Lecour 783dcb9890 evomaintenance: upstream release 0.6.3
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-02 22:12:58 +01:00
Jérémy Lecour af53a6b2ec evomaintenance: upstream release 0.6.2
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-02 14:45:41 +01:00
Jérémy Lecour ff7f8669ef evomaintenance: install PG dependencies only when needed 2020-02-25 10:43:23 +01:00
Jérémy Lecour 02858692bb evomaintenance: don't configure firewall for database if not necessary
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-23 14:34:03 +01:00
Jérémy Lecour 65d914098c whitespaces
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-09 15:05:44 +01:00
Jérémy Lecour e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
Jérémy Lecour a55e29186f evomaintenance: upstream version 0.6.0
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-05 14:52:59 +01:00
Jérémy Lecour f5f4a82114 evomaintenance: upstream version 0.5.1
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-21 15:40:15 +02:00
Ludovic Poujol 6d2db1341f evomaintenance: Turn on API by default (instead of DB)
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2019-08-07 15:42:23 +02:00
Jérémy Lecour a643c96cca evomaintenance: make hooks configurable
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2019-06-17 14:17:30 +02:00
Jérémy Lecour bd8644ae60 whitespaces 2019-05-14 14:03:03 +02:00
Tristan PILAT d8d4924b5c Add mailevomaintenance.sh along with a cron (disabled by default) in the OpenBSD task to send a mail everyday if something's not commited in /etc 2019-05-11 21:37:00 +02:00
Tristan PILAT 38a905dd8d No need for two tasks to copy evomaintenance script and template, let's use with_items instead 2019-05-11 21:34:10 +02:00
Tristan PILAT 992f279064 Add dependencies for OpenBSD 2019-05-01 23:22:43 +02:00
Tristan PILAT e1e013052c No need to include minifirewall task if the OS is not Debian 2019-05-01 23:21:03 +02:00
Jérémy Lecour f7057a6787 evomaintenance: set default API variable to Null by default 2019-04-26 11:08:10 +02:00
Nicolas Roman 46033ec8ce remove assert for database and add assert for api 2019-04-26 11:06:42 +02:00
Nicolas Roman b0e9dfd109 add git as dependency for debian 2019-04-26 11:06:42 +02:00
Nicolas Roman f7df73d586 api hook for evomaintenance.sh 2019-04-26 11:06:42 +02:00
Nicolas Roman 385a4f44fa added variables for the API 2019-04-26 11:06:42 +02:00
Jérémy Lecour 66381ae454 evomaintenance: embed version 0.5.0 2019-03-26 15:06:20 +01:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01:00
Jérémy Lecour d0b3b6d6b8 evomaintenance: database variables must be set or the task fails 2018-12-11 12:08:04 +01:00
Jérémy Lecour 4a411685ff evomaintenance: FROM domain is configurable 2018-11-06 10:39:30 +01:00
Jérémy Lecour c03be65ed9 evomaintenance: update script from upstream 2018-11-02 10:13:40 +01:00
Jérémy Lecour 85c779164a evomaintenance: fix role compatibility with OpenBSD 2018-10-12 10:13:27 +02:00
Jérémy Lecour 20e8d9f432 evomaintenance: install dependencies when installing vendored version 2018-10-08 09:37:18 +02:00
Jérémy Lecour 9f3a70926d evomaintenance: tasks/variables to handle minifirewall restarts 2018-09-25 12:14:33 +02:00
Jérémy Lecour 647eda6d9b evomaintenance: variable to force the configuration (default: True) 2018-09-25 12:07:41 +02:00
Jérémy Lecour 0b6956db46 evomaintenance vendor version 0.4.1 2018-09-25 12:06:04 +02:00
Jérémy Lecour c2d8cadf26 evomaintenance vendor version 0.4.0 2018-09-25 09:53:15 +02:00
Jérémy Lecour 9f9ddf5c2e evomaintenance: some variables are mandatory 2018-09-24 18:46:34 +02:00
Jérémy Lecour 7d786d7b5f evomaintenance: update vendored script 2018-09-24 18:41:06 +02:00
Jérémy Lecour 2b5e83fa34 evomaintenance: a vendored version is available to install 2018-09-20 17:08:36 +02:00