Templates everything + Systemd improvements+fixes + Notifications for restart + Idempotent checks for multiple runs
This commit is contained in:
parent
3d7d6deef0
commit
37447d1618
9 changed files with 663 additions and 132 deletions
4
handlers/main.yml
Normal file
4
handlers/main.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
- name: restart elasticsearch
|
||||
service: name={{instance_init_script | basename}} state=restarted enabled=yes
|
||||
when: es_start_service and not elasticsearch_started.changed
|
||||
Loading…
Add table
Add a link
Reference in a new issue