Reload deamons to fix Kibana error on Amazon Linux 2
This commit is contained in:
parent
88585a2e80
commit
a15477300f
@ -93,7 +93,6 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0664
|
||||
notify: restart kibana
|
||||
tags: configure
|
||||
|
||||
- name: Checking Wazuh-APP version
|
||||
@ -124,21 +123,30 @@
|
||||
args:
|
||||
executable: /bin/bash
|
||||
creates: /usr/share/kibana/plugins/wazuh/package.json
|
||||
notify: restart kibana
|
||||
become: yes
|
||||
become_user: kibana
|
||||
tags:
|
||||
- install
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Ensure Kibana started and enabled
|
||||
- name: Reload systemd configuration
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
|
||||
- name: Restart Kibana
|
||||
service:
|
||||
name: kibana
|
||||
enabled: true
|
||||
state: restarted
|
||||
|
||||
- name: Ensure Kibana is started
|
||||
service:
|
||||
name: kibana
|
||||
enabled: true
|
||||
state: started
|
||||
|
||||
- import_tasks: RMRedHat.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
when: ansible_os_family == 'RedHat', 'Amazon'
|
||||
|
||||
- import_tasks: RMDebian.yml
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user