83:c57344d0b80a
Anton Shestakov <av6@dwimlabs.net>, Wed, 06 Apr 2016 13:35:00 +0800
provision: use the extracted hpkpinfo from ssl_cert and intermediate certs

next change 108:f24c7fee1b0d
previous change 66:4f361ef1d737

provision/roles/nginx/tasks/main.yml

Permissions: -rw-r--r--

Other formats: Feeds:
---
- name: Install package
apt: pkg=nginx state=present
- name: Create a Diffie-Hellman key exchange parameters file
command: >
openssl dhparam
{% if ansible_virtualization_type == "virtualbox" %}-dsaparam{% endif %}
-out /etc/nginx/dh-2048.pem
2048
args:
creates: /etc/nginx/dh-2048.pem
notify:
- restart nginx
- name: Allow HTTP and HTTPS
ufw: rule=allow name='{{ item }}'
with_items:
- Nginx HTTP
- Nginx HTTPS
tags: [ufw]
...