Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fedelemantuano committed Dec 23, 2018
1 parent f296e22 commit 3e0feaa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
# wait that kibana is up
- name: Wait for kibana to startup
listen: restart kibana
wait_for:
host: "{{ kibana_api_host }}"
wait_for:
host: "{{ kibana_api_host }}"
port: "{{ kibana_api_port }}"
delay: 5
delay: 5
connect_timeout: 1
when:
when:
- kibana_restart_on_change
- kibana_start_service
4 changes: 2 additions & 2 deletions tasks/kibana-parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
# Relies on kibana distribution installing a serviced script to determine whether one should be copied.

- name: set fact use_system_d
set_fact:
use_system_d: >
set_fact:
use_system_d: >
"{{ (ansible_distribution == 'Debian' and ansible_distribution_version | version_compare('8', '>=')) or (ansible_distribution in ['RedHat','CentOS'] and ansible_distribution_version | version_compare('7', '>=')) or (ansible_distribution == 'Ubuntu' and ansible_distribution_version | version_compare('15', '>=')) }}"
- name: set fact instance_sysd_script
Expand Down

0 comments on commit 3e0feaa

Please sign in to comment.