Filebeat Module - Distribute SSL keys

This commit is contained in:
Mike Reeves
2018-06-05 08:16:35 -04:00
parent 487c48b60c
commit f1956ed6cd

View File

@@ -24,6 +24,16 @@
# Create Symlinks to the keys so I can distribute it to all the things
fbkeylink:
file.symlink:
- name: /opt/so/saltstack/salt/filebeat/files/filebeat.key
- target: /etc/pki/filebeat.key
fbcrtlink:
file.symlink:
- name: /opt/so/saltstack/salt/filebeat/files/filebeat.crt
- target: /etc/pki/filebeat.crt
# Create a cert for the docker registry
/etc/pki/registry.crt:
x509.certificate_managed: