lineinfile module corrected
This commit is contained in:
parent
04f3ec1aab
commit
8f6e102324
@ -108,7 +108,7 @@
|
|||||||
- ansible_distribution_major_version | int == 14
|
- ansible_distribution_major_version | int == 14
|
||||||
|
|
||||||
- name: Ensure extra time for Elasticsearch to start on reboots
|
- name: Ensure extra time for Elasticsearch to start on reboots
|
||||||
ansible.builtin.lineinfile:
|
lineinfile:
|
||||||
path: /usr/lib/systemd/system/elasticsearch.service
|
path: /usr/lib/systemd/system/elasticsearch.service
|
||||||
regexp: '^TimeoutStartSec='
|
regexp: '^TimeoutStartSec='
|
||||||
line: "TimeoutStartSec={{ elasticsearch_start_timeout }}"
|
line: "TimeoutStartSec={{ elasticsearch_start_timeout }}"
|
||||||
|
|||||||
@ -55,7 +55,7 @@
|
|||||||
tags: install
|
tags: install
|
||||||
|
|
||||||
- name: Ensure extra time for Elasticsearch to start on reboots
|
- name: Ensure extra time for Elasticsearch to start on reboots
|
||||||
ansible.builtin.lineinfile:
|
lineinfile:
|
||||||
path: /usr/lib/systemd/system/elasticsearch.service
|
path: /usr/lib/systemd/system/elasticsearch.service
|
||||||
regexp: '^TimeoutStartSec='
|
regexp: '^TimeoutStartSec='
|
||||||
line: "TimeoutStartSec={{ elasticsearch_start_timeout }}"
|
line: "TimeoutStartSec={{ elasticsearch_start_timeout }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user