Anton Shestakov <av6@dwimlabs.net>, Mon, 04 Apr 2016 08:20:53 +0800
provision: use $host for HTTP->HTTPS redirection
contrib/provision/roles/nginx/tasks/main.yml
Permissions: -rw-r--r--
apt: pkg={{ item }} state=present - name: Disable default site file: path=/etc/nginx/sites-enabled/default state=absent - 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 }}'