Co-authored-by: Tyler Smalley <tylersmalley@me.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Jonathan Budzenski <jon@budzenski.me> Co-authored-by: Tyler Smalley <tylersmalley@me.com>
13 lines
373 B
YAML
13 lines
373 B
YAML
- name: stat /var/lib/kibana
|
|
become: yes
|
|
register: kibana_data_directory
|
|
stat:
|
|
path: /var/lib/kibana
|
|
|
|
- name: /var/lib/kibana 2750 kibana:kibana
|
|
assert:
|
|
that:
|
|
- kibana_log_directory.stat.exists
|
|
- kibana_log_directory.stat.mode == "2750"
|
|
- kibana_log_directory.stat.pw_name == "kibana"
|
|
- kibana_log_directory.stat.gr_name == "kibana"
|