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
William Hirigoyen
48e3ced983
elasticsearch : use logrotate for garbage collector logs
gitea/ansible-roles/pipeline/head This commit looks good
2023-01-02 17:29:37 +01:00
Jérémy Lecour
7a0e0d81d6
Proper jinja spacing
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +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
28540247f0
Add signed-by option for additional APT sources
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
cbe7985814
Enforce String notation for mode
2022-06-08 15:38:21 +02:00
Ludovic Poujol
69a9cb9591
elasticsearch: Use /etc/elasticsearch/jvm.options.d/evolinux.options
instead of default /etc/elasticsearch/jvm.options
...
continuous-integration/drone/push Build was killed
Note : Files in that folder require the ".options" prefix
Fixes a2f73bb7df
2022-02-23 10:14:43 +01:00
Ludovic Poujol
a2f73bb7df
elasticsearch: Use /etc/elasticsearch/jvm.options.d/evolinux
instead of default /etc/elasticsearch/jvm.options
continuous-integration/drone/push Build was killed
2022-02-07 15:18:46 +01:00
Jérémy Lecour
29ec7bdcf2
Remove embedded GPG keys only if legacy keyring is present
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
b5bcd666c6
fix apt gpg keys after rebase from unstable
2021-07-02 21:23:14 +02:00
Jérémy Lecour
613a11d119
elasticsearch: 7.x by default
2021-07-02 21:15:00 +02:00
Jérémy Lecour
b8c5ac3097
remove whitespace for stream redirection
2021-06-28 15:56:19 +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
1890a79702
elasticsearch: inline YAML formatting of seed_hosts and initial_master_nodes
continuous-integration/drone/push Build is passing
2021-06-23 22:38:24 +02:00
Jérémy Lecour
4c1ef1bd56
elasticsearch: recent versiond don't depend on external JRE
2021-06-23 22:38:24 +02:00
Jérémy Lecour
454d4c6d30
explicit permissions for APT GPG keys
continuous-integration/drone/push Build is passing
2021-05-26 13:47:34 +02:00
Jérémy Lecour
4d83f25ae6
fix pipefail option for shell invocations
continuous-integration/drone/push Build is passing
2021-05-18 14:04:54 +02:00
Jérémy Lecour
e65340cb56
Add pipefail option to shell invocations
continuous-integration/drone/push Build is passing
2021-05-13 15:34:27 +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
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
continuous-integration/drone/push Build is passing
2021-05-06 10:42:12 +02:00
Jérémy Lecour
9cdddd50a8
Move all trusted GPG keys to file repository
continuous-integration/drone/push Build is passing
2021-05-03 14:23:13 +02:00
Jérémy Lecour
7041a70eeb
elasticsearch: log rotation is more readable/maintainable
2021-04-01 15:36:34 +02:00
Bruno TATU
33837844ee
Compress logs about garbage collector for elasticsearch
...
Whitout this improvement, this logs cannot be compressed:
/var/log/elasticsearch/gc.log.02
/var/log/elasticsearch/gc.log.29
/var/log/elasticsearch/gc.log.12
/var/log/elasticsearch/gc.log.18
2021-04-01 15:36:34 +02:00
Jérémy Lecour
eeeb20771a
elasticsearch: keep native values
continuous-integration/drone/push Build is passing
2020-07-21 10:46:34 +02:00
Jérémy Lecour
21b8104654
elasticsearch: configure cluster with seed hosts and initial masters
continuous-integration/drone/push Build is passing
2020-07-19 11:40:59 +02:00
Jérémy Lecour
9270852349
elasticsearch: set tmpdir before datadir
continuous-integration/drone/push Build is passing
2020-07-19 11:30:00 +02:00
Jérémy Lecour
cea5620568
elasticsearch is compatible with buster
continuous-integration/drone/push Build is passing
2020-07-17 13:49:07 +02:00
Jérémy Lecour
288416f149
elaticsearch: Java version is not forced to 8 anymore
2020-03-21 19:07:26 +01:00
Jérémy Lecour
7283e34077
Replace version_compare() with version()
2020-02-25 10:45:35 +01:00
Jérémy Lecour
6801f4e00e
Add names to many blocks
2019-12-31 16:56:03 +01:00
Jérémy Lecour
eded11f88f
Change "|search" with "is search"
2019-12-31 16:18:56 +01:00
Jérémy Lecour
79bb6103b8
Change "|version_compare" with "is version_compare"
2019-12-31 10:18:19 +01:00
Victor LABORIE
0873bb49e0
Add evolix prefix to role dependencies
continuous-integration/drone/push Build is passing
2019-11-29 14:19:52 +01:00
Victor LABORIE
6f5e13f8b8
Add evolix prefix to include_role
2019-11-29 14:00:25 +01:00
Jérémy Lecour
24edbd680a
Add crontabs only when cron package is installed (many roles)
continuous-integration/drone/push Build is passing
2019-10-21 15:26:03 +02:00
Jérémy Lecour
11a039bfac
elasticsearch: listen on local interface only by default
2019-07-01 17:17:32 +02:00
Jérémy Lecour
aa28e9c1b8
change repositories URL
2019-03-21 15:31:58 +01:00
Jérémy Lecour
54f44f0443
elasticsearch: install a script to help plugins upgrades
2019-02-22 10:25:27 +01:00
Jérémy Lecour
56af209fb2
elasticsearch: fix condition for tmpdir
...
when a task has "failed_when: False" the "success" filter doesn't always
return the correct value (depending on the version of Ansible).
2018-09-20 12:13:21 +02:00
Tristan PILAT
d07af3ca55
Fix forgotten spaces in configuration directives
2018-08-14 11:09:48 +02:00
Tristan PILAT
1d021e0954
Fix mistaken task
2018-08-14 10:21:12 +02:00
Tristan PILAT
d321814254
Add cluster members configuration
2018-08-13 17:49:24 +02:00
Victor LABORIE
fbd97a5f08
java: support for Oracle JRE
2018-06-11 10:39:52 +02:00
Jérémy Lecour
0054e4fdea
elasticsearch: add http.publish_host variable
2018-05-22 15:16:27 +02:00
Jérémy Lecour
50a1003f15
don't use jinja2 templating delimiters with "when" statements
2018-05-18 09:44:25 +02:00
Jérémy Lecour
f8babfd532
elasticsearch: tmpdir configuration compatible with 5.x also
2018-05-16 12:15:04 +02:00
Jérémy Lecour
5091157b18
Elasticsearch: defaults to version 6.x
2018-05-16 11:03:24 +02:00