Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #102 #103

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion roles/elastic-stack/ansible-elasticsearch/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@
- name: Reload systemd
systemd: daemon_reload=yes
ignore_errors: yes
when: not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA")
when:
- not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA")
- not (ansible_distribution == "Ubuntu" and ansible_distribution_version is version('15.04', '<'))

- name: Ensure Elasticsearch started and enabled
service:
Expand Down
4 changes: 3 additions & 1 deletion roles/elastic-stack/ansible-kibana/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
- name: Reload systemd
systemd: daemon_reload=yes
ignore_errors: yes
when: not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA")
when:
- not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA")
- not (ansible_distribution == "Ubuntu" and ansible_distribution_version is version('15.04', '<'))

- name: Kibana configuration
template:
Expand Down
4 changes: 3 additions & 1 deletion roles/elastic-stack/ansible-logstash/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
- name: Reload systemd
systemd: daemon_reload=yes
ignore_errors: yes
when: not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA")
when:
- not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA")
- not (ansible_distribution == "Ubuntu" and ansible_distribution_version is version('15.04', '<'))

- name: Amazon Linux create service
shell: /usr/share/logstash/bin/system-install /etc/logstash/startup.options
Expand Down
4 changes: 3 additions & 1 deletion roles/wazuh/ansible-filebeat/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
- name: Reload systemd
systemd: daemon_reload=yes
ignore_errors: yes
when: not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA")
when:
- not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA")
- not (ansible_distribution == "Ubuntu" and ansible_distribution_version is version('15.04', '<'))

- name: Ensure Filebeat is started and enabled at boot.
service:
Expand Down