small task cleanup
This commit is contained in:
parent
128abe7151
commit
7b5656edc1
@ -54,6 +54,7 @@
|
|||||||
mode: 0640
|
mode: 0640
|
||||||
with_items:
|
with_items:
|
||||||
- header.conf
|
- header.conf
|
||||||
|
- tls.conf
|
||||||
notify:
|
notify:
|
||||||
- nginx_restart
|
- nginx_restart
|
||||||
|
|
||||||
@ -87,6 +88,8 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
notify:
|
||||||
|
- nginx_restart
|
||||||
|
|
||||||
- name: Copy ssl intermediate cert
|
- name: Copy ssl intermediate cert
|
||||||
copy:
|
copy:
|
||||||
@ -95,6 +98,8 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
notify:
|
||||||
|
- nginx_restart
|
||||||
|
|
||||||
- name: Copy ssl private key
|
- name: Copy ssl private key
|
||||||
copy:
|
copy:
|
||||||
@ -103,10 +108,11 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0600
|
mode: 0600
|
||||||
|
notify:
|
||||||
|
- nginx_restart
|
||||||
|
|
||||||
- name: Open ports in iptables
|
- name: Open ports in iptables
|
||||||
iptables_raw:
|
iptables_raw:
|
||||||
name: allow_nginx_ports
|
name: allow_nginx_ports
|
||||||
state: present
|
state: present
|
||||||
rules: '-A INPUT -p tcp -m multiport --dports {{ nginx_open_ports|join(",") }} -j ACCEPT'
|
rules: '-A INPUT -p tcp -m multiport --dports {{ nginx_open_ports|join(",") }} -j ACCEPT'
|
||||||
tags: iptables
|
|
||||||
|
Loading…
Reference in New Issue
Block a user