Anton Shestakov <av6@dwimlabs.net>, Wed, 06 Apr 2016 13:08:27 +0800
provision: use $host variable in HTTP->HTTPS redirect
provision/roles/nginx/tasks/main.yml
Permissions: -rw-r--r--
apt: pkg=nginx state=present - name: Create a Diffie-Hellman key exchange parameters file {% if ansible_virtualization_type == "virtualbox" %}-dsaparam{% endif %} -out /etc/nginx/dh-2048.pem creates: /etc/nginx/dh-2048.pem - name: Allow HTTP and HTTPS ufw: rule=allow name='{{ item }}'