roles/elasticsearch: expand task, add missing mode and ownership to file module

This commit is contained in:
neonmei 2020-11-12 11:17:34 -03:00
parent 84744fe8ab
commit bc27023861
No known key found for this signature in database
GPG Key ID: 7EA1832E7E17237E

View File

@ -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"