Remove explicit Kibana restart. Add restart notifications
This commit is contained in:
parent
9db41aac8c
commit
8c48c6ce62
@ -84,6 +84,7 @@
|
||||
when:
|
||||
- check_certs_permissions is defined
|
||||
- kibana_xpack_security
|
||||
notify: restart kibana
|
||||
tags: xpack-security
|
||||
|
||||
- name: Kibana configuration
|
||||
@ -93,6 +94,7 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0664
|
||||
notify: restart kibana
|
||||
tags: configure
|
||||
|
||||
- name: Checking Wazuh-APP version
|
||||
@ -125,6 +127,7 @@
|
||||
creates: /usr/share/kibana/plugins/wazuh/package.json
|
||||
become: yes
|
||||
become_user: kibana
|
||||
notify: restart kibana
|
||||
tags:
|
||||
- install
|
||||
- skip_ansible_lint
|
||||
@ -133,13 +136,6 @@
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
|
||||
- name: Restart Kibana
|
||||
service:
|
||||
name: kibana
|
||||
enabled: true
|
||||
state: restarted
|
||||
changed_when: false
|
||||
|
||||
- name: Ensure Kibana is started and enabled
|
||||
service:
|
||||
name: kibana
|
||||
|
||||
Loading…
Reference in New Issue
Block a user