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