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
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
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
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
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
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
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
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
4382ce24f6
add "become" when missing
2018-04-04 23:22:17 +02:00
Jérémy Lecour
40939dd6bd
fixup! elasticsearch: RESTART_ON_UPGRADE is configurable
2018-02-20 15:21:18 +01:00
Jérémy Lecour
62a85ef72a
elasticsearch: RESTART_ON_UPGRADE is configurable
2018-02-20 15:06:07 +01:00
Jérémy Lecour
23062e7b18
elasticsearch: ES_TMPDIR variable for custom tmpdir
2018-02-07 17:36:04 +01:00
Jérémy Lecour
cc12f15b23
elasticsearch: update curator debian repository
2017-11-26 12:38:59 +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
4746354c54
Elasticsearch: daily job for log rotation
2017-11-14 11:07:06 +01:00
Jérémy Lecour
bcbfcf9080
Elasticsearch: use elastic.list APT source list for curator
2017-11-14 11:06:24 +01:00
Jérémy Lecour
5800159830
elasticsearch: fix datadir/tmpdir conditions
2017-11-14 11:05:54 +01:00
Jérémy Lecour
430f36c0e7
Elastic: fix source list filename
2017-11-14 10:26:48 +01:00
Jérémy Lecour
8518902ec9
Elasticsearch-head: no need to have a shell
2017-10-11 17:58:59 +02:00