roles/elasticsearch: expand task, add missing mode and ownership to file module
This commit is contained in:
parent
84744fe8ab
commit
bc27023861
@ -6,7 +6,12 @@
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: Create elasticsearch.service.d folder.
|
||||
file: path=/etc/systemd/system/elasticsearch.service.d/ state=directory
|
||||
file:
|
||||
path: /etc/systemd/system/elasticsearch.service.d
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
when:
|
||||
- ansible_service_mgr == "systemd"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user