Commit graph

36 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
Patrick Marchand 1c6fdbf85a Remove warning ignores as they are depreciated
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Will cause a hard fail in ansible 2.14, so better get rid of them now.
There is no alternative, but the ansible warnings for those modules
are not hard failures anyways.
2022-12-22 11:32:32 -05:00
David Prevot a1bad43b25 Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
Jérémy Lecour 28540247f0 Add signed-by option for additional APT sources
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-02 23:17:08 +01:00
Jérémy Lecour f531460f49 Use proper keyrings directory for APT version
Debian 9 → 11 : /etc/apt/trusted.gpg.d
Debian 12 : /etc/apt/keyrings
2022-11-02 23:16:32 +01:00
Jérémy Lecour 29ec7bdcf2 Remove embedded GPG keys only if legacy keyring is present
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2021-07-04 22:08:47 +02:00
Jérémy Lecour d40fad662f kibana: 7.x by default 2021-07-02 21:15:40 +02:00
Jérémy Lecour 454d4c6d30 explicit permissions for APT GPG keys
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-26 13:47:34 +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 58bf79218f remove apt keys specifically from embedded database 2021-05-06 13:43:59 +02:00
Jérémy Lecour 7d08b0a30a rename the tasks for embedded GPG keys
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-06 11:33:19 +02:00
Jérémy Lecour 83705a48b8 remove key from trusted.gpg only if file is present
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-06 10:42:12 +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 9cdddd50a8 Move all trusted GPG keys to file repository
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-03 14:23:13 +02:00
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
Jérémy Lecour b4122be2b3 kibana: log messages go to /var/log/kibana/kibana.log 2018-05-22 15:17:16 +02:00
Jérémy Lecour 3cbb65ea8d whitespaces 2018-04-04 23:21:31 +02:00
Jérémy Lecour cf47d40b79 elastic: option for stack main version 2017-11-26 12:32:12 +01:00
Jérémy Lecour 8cd754fd55 kibana: use the right argument :/ 2017-11-17 11:30:34 +01:00
Jérémy Lecour 7bc668963b kibana: move optimize and data to /var 2017-11-14 14:24:11 +01:00
Jérémy Lecour 72d08388a5 kibana: host and basepath configuration 2017-11-14 14:24:10 +01:00
Jérémy Lecour 430f36c0e7 Elastic: fix source list filename 2017-11-14 10:26:48 +01:00
Victor LABORIE 1c48df025c Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
Jérémy Lecour c4ca8c3764 cleanup with dependencies on java8 2017-10-08 22:31:22 +02:00
Jérémy Lecour 913e547f04 Kibana: merge the proxy back into the main role 2017-07-13 14:58:44 +02:00
Jérémy Lecour aedc0d3452 merge elastic sources back into roles 2017-07-13 14:43:07 +02:00
Jérémy Lecour 65f91f09b0 Disable warnings for mount commands related to /usr read-only 2017-06-12 15:11:40 +02:00
Jérémy Lecour 22dac714f1 Kibana: move the optimize dir on /var if /usr is read-only 2017-06-09 09:06:33 +02:00
Jérémy Lecour 2898d5e33d Fix type in elastic-sources-list name 2017-05-21 11:57:26 +02:00
Jérémy Lecour 9e5f2dff6f Break dependencies and use include_role 2017-05-21 11:13:48 +02:00
Jérémy Lecour 294cea44e8 Change mode with leading 0, but still as String 2017-03-23 16:59:43 +01:00
Jérémy Lecour 478e9a8272 replace "state: installed" with "state: present" 2017-01-12 17:37:48 +01:00
Jérémy Lecour 5a4f838375 Unix mode MUST be a quoted string when using octal notation 2017-01-05 12:03:54 +01:00
Jérémy Lecour 89d5c4f3a1 Kibana: extract kibana-proxy-nginx 2016-12-21 16:12:27 +01:00
Jérémy Lecour 11083007d6 refactoring of elastic roles
- extract java8
- extract elastic-source-list
2016-12-21 16:12:26 +01:00
Jérémy Lecour c51b29fb05 Kibana role 2016-12-21 16:12:26 +01:00