Commit graph

27 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
David Prevot a1bad43b25 Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
Jérémy Lecour 573a6e1d97 logstash: fix elastic signature 2022-11-03 14:39:35 +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 8233264d2a logstash: logging to syslog is configurable (default: True) 2021-09-21 14:43:58 +02: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 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 02451f1e67 add default (useless) value for file lookup
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-19 14:35:08 +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 debc4a82ca Use 'loop' syntax instead of 'with_first_found'
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-04 13:39:47 +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
Jérémy Lecour 6c74d3a5e3 logstash: tmp directory can be customized 2018-09-20 12:13:21 +02:00
Jérémy Lecour 70a1dfa4dc logstash: fix permissions on pipeline configuration 2017-12-04 16:01:33 +01:00
Jérémy Lecour cf47d40b79 elastic: option for stack main version 2017-11-26 12:32:12 +01:00
Jérémy Lecour 888336e6fe logstash: daily job for log rotation 2017-11-14 11:07:13 +01:00
Jérémy Lecour 430f36c0e7 Elastic: fix source list filename 2017-11-14 10:26:48 +01:00
Jérémy Lecour c4ca8c3764 cleanup with dependencies on java8 2017-10-08 22:31:22 +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 cb66222319 Default/overridable logstash configuration 2017-05-30 15:16:57 +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 478e9a8272 replace "state: installed" with "state: present" 2017-01-12 17:37:48 +01:00
Jérémy Lecour 91361d0c1d JVM Heap size configurable for Elasticsearch 2016-12-21 16:12:26 +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