Anton Shestakov <av6@dwimlabs.net>, Wed, 06 Apr 2016 13:23:19 +0800
provision: set root outside of location block
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 }}'