--- a/roles/nginx/tasks/main.yml Sun Mar 13 06:23:08 2016 +0000
+++ b/roles/nginx/tasks/main.yml Sat Jun 25 12:27:03 2016 +0800
- name: Extract information for HPKP header
- shell: openssl rsa -in /etc/nginx/easy-rsa/keys/{{ item }} -outform der -pubout | openssl dgst -sha256 -binary | openssl enc -base64
+ openssl rsa -in /etc/nginx/easy-rsa/keys/{{ item }} -outform der -pubout
+ | openssl dgst -sha256 -binary
- munin.{{ hostname }}.key