diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..34b61017eae1db79091b91d78d7644febfb8ad9b --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# Preparing SSL Cert + +Create SSL-Cert once upfront in the inventory and use the passphrase similar to `{{ fluentd_cert_passphrase }}`: + +``` +openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 3650 -subj '/CN={{ fluentd_host }}' +``` + +# Tutorials + +- https://sonnguyen.ws/centralize-docker-logs-with-fluentd-elasticsearch-and-kibana/ +- https://sonnguyen.ws/monitor-nginx-response-time-with-fluentd-kibana-and-elasticsearch/ diff --git a/tasks/main.yml b/tasks/main.yml index b80f3a64378d170d4c9005cda6bbfaac0c51090a..b95e00ea4089309fa303ebc1920495807bf1102b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,10 +1,3 @@ -# Tutorials -# https://sonnguyen.ws/centralize-docker-logs-with-fluentd-elasticsearch-and-kibana/ -# https://sonnguyen.ws/monitor-nginx-response-time-with-fluentd-kibana-and-elasticsearch/ -# -# Create SSL-Cert once upfront in the inventory and use the passührase similar to {{ fluentd_cert_passphrase }}: -# openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 3650 -subj '/CN={{ fluentd_hostname }}' - --- # file: roles/fluentd/tasks/main.yml