small task cleanup

This commit is contained in:
Robert Kaussow 2017-07-15 22:35:00 +02:00
parent 128abe7151
commit 7b5656edc1

View File

@ -54,6 +54,7 @@
mode: 0640
with_items:
- header.conf
- tls.conf
notify:
- nginx_restart
@ -87,6 +88,8 @@
owner: root
group: root
mode: 0644
notify:
- nginx_restart
- name: Copy ssl intermediate cert
copy:
@ -95,6 +98,8 @@
owner: root
group: root
mode: 0644
notify:
- nginx_restart
- name: Copy ssl private key
copy:
@ -103,10 +108,11 @@
owner: root
group: root
mode: 0600
notify:
- nginx_restart
- name: Open ports in iptables
iptables_raw:
name: allow_nginx_ports
state: present
rules: '-A INPUT -p tcp -m multiport --dports {{ nginx_open_ports|join(",") }} -j ACCEPT'
tags: iptables