Commit graph

26 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 b293cf2cf9 Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
Jérémy Lecour 437d2986ae better python3 modules management 2021-09-29 18:39:29 +02:00
Jérémy Lecour 74ab96d67f loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
Jérémy Lecour c5bb8f06ae mysql: use python3 with Debian 11 and later 2021-07-02 21:10:52 +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 e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
Victor LABORIE 1b74db194a Add missing evolix prefix to role dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-03 14:32:34 +01:00
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
Victor LABORIE 08ae9d73c4 redmine: fix 500 error on logging 2019-05-29 11:49:10 +02:00
Victor LABORIE 490708c76d redmine: use custom errors-pages in Nginx vhost 2019-05-22 12:07:51 +02:00
Victor LABORIE e40aefb4e0 redmine: enable gzip compression in nginx vhost 2019-05-13 12:06:22 +02:00
Victor LABORIE 0dd7b26ade redmine: update default version to 4.0.3 2019-05-13 11:21:32 +02:00
Victor LABORIE 079f1e982b redmine: add nginx tag to nginx task 2019-05-03 16:49:22 +02:00
Victor LABORIE 0794e6f620 redmine: refactoring of redmine role with use of rbenv 2019-01-28 14:29:01 +01:00
Victor LABORIE d2c37fe67b redmine: use .my.cnf for mysql password 2018-06-22 10:49:24 +02:00
Jérémy Lecour 7195742af9 remine: add tags 2018-04-04 23:36:00 +02:00
Jérémy Lecour 4382ce24f6 add "become" when missing 2018-04-04 23:22:17 +02:00
Jérémy Lecour 3cbb65ea8d whitespaces 2018-04-04 23:21:31 +02:00
Victor LABORIE d9756702f6 redmine: force xpath < 3.0.0 (for ruby 2.1 support) 2018-01-08 14:44:22 +01:00
Victor LABORIE 78d57cf66f redmine: set loglevel to warn 2017-10-30 11:46:35 +01:00
Victor LABORIE 3d3d4affe1 redmine: use default target instead of multi-user for puma service 2017-10-20 10:54:35 +02:00
Victor LABORIE e38f4bc0c3 redmine: don't change when touch nginx log files 2017-08-31 11:07:59 +02:00
Victor LABORIE 716b0a2ed8 redmine: use tasks instead of handlers 2017-08-31 10:55:14 +02:00
Victor LABORIE f47947f489 Add a redmine role 2017-08-31 09:47:07 +02:00