diff --git a/tasks/config.yml b/tasks/config.yml index 93c5709..29b8a40 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -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