forked from evolix/ansible-roles
a bit of syntax
This commit is contained in:
parent
8920ff1ee4
commit
9ba7c66f5f
|
@ -6,7 +6,7 @@
|
|||
failed_when: False
|
||||
changed_when: False
|
||||
tags:
|
||||
- config
|
||||
- config
|
||||
|
||||
- name: Maximum map count check
|
||||
sysctl:
|
||||
|
@ -15,7 +15,7 @@
|
|||
sysctl_file: /etc/sysctl.d/elasticsearch.conf
|
||||
when: "{{ max_map_count|int < 262144 }}"
|
||||
tags:
|
||||
- config
|
||||
- config
|
||||
|
||||
- name: bootstrap.memory_lock
|
||||
lineinfile:
|
||||
|
@ -24,7 +24,7 @@
|
|||
regexp: "^bootstrap.memory_lock:"
|
||||
insertafter: "^# *bootstrap.memory_lock:"
|
||||
tags:
|
||||
- config
|
||||
- config
|
||||
|
||||
- name: Create a system config directory for systemd overrides
|
||||
file:
|
||||
|
@ -38,6 +38,6 @@
|
|||
option: "LimitMEMLOCK"
|
||||
value: "infinity"
|
||||
notify:
|
||||
- reload elasticsearch unit
|
||||
- reload elasticsearch unit
|
||||
tags:
|
||||
- config
|
||||
- config
|
||||
|
|
|
@ -40,5 +40,5 @@
|
|||
name: elasticsearch
|
||||
state: started
|
||||
tags:
|
||||
- elasticsearch
|
||||
- elasticsearch
|
||||
when: elasticsearch_custom_datadir and elasticsearch_custom_datadir != elasticsearch_current_real_datadir_test.stdout and not elasticsearch_custom_datadir_test.stat.exists
|
||||
|
|
|
@ -6,11 +6,17 @@
|
|||
register: tomcat_instance_stat
|
||||
|
||||
- include: tomcat.yml
|
||||
|
||||
- include: nagios.yml
|
||||
|
||||
- include: check.yml
|
||||
|
||||
- include: user.yml
|
||||
|
||||
- include: systemd.yml
|
||||
|
||||
- include: alias.yml
|
||||
when: tomcat_instance_stat.stat.exists != True
|
||||
when: not tomcat_instance_stat.stat.exists
|
||||
|
||||
- include: bootstrap.yml
|
||||
when: tomcat_instance_stat.stat.exists != True
|
||||
when: not tomcat_instance_stat.stat.exists
|
||||
|
|
Loading…
Reference in a new issue