don't create symlinks if a heavy node

This commit is contained in:
Mike Reeves
2020-08-19 21:18:57 -04:00
committed by GitHub
parent f9e5ea8ba7
commit ccc2ed4478

View File

@@ -177,6 +177,7 @@ chownilogstashfilebeatp8:
- user: 931
- group: 939
{% if grains.role != 'so-heavynode' %}
# Create Symlinks to the keys so I can distribute it to all the things
filebeatdir:
file.directory:
@@ -266,7 +267,7 @@ miniokeyperms:
- name: /etc/pki/minio.key
- mode: 640
- group: 939
{% endif %}
# Create a cert for elasticsearch
/etc/pki/elasticsearch.key:
x509.private_key_managed: