Anton Shestakov <av6@dwimlabs.net>, Fri, 05 Feb 2016 16:46:33 +0800
add sample roles and playbook
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 }}'