small task cleanup
This commit is contained in:
parent
128abe7151
commit
7b5656edc1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user