switch around task order
This commit is contained in:
parent
9f88f210f0
commit
50878bb950
@ -8,6 +8,16 @@
|
|||||||
- python3-certbot
|
- python3-certbot
|
||||||
- python3-certbot-nginx
|
- python3-certbot-nginx
|
||||||
|
|
||||||
|
- name: Allow http port via ufw
|
||||||
|
community.general.ufw:
|
||||||
|
rule: allow
|
||||||
|
port: http
|
||||||
|
|
||||||
|
- name: Allow https port via ufw
|
||||||
|
community.general.ufw:
|
||||||
|
rule: allow
|
||||||
|
port: https
|
||||||
|
|
||||||
- name: Enable and restart nginx daemon
|
- name: Enable and restart nginx daemon
|
||||||
service:
|
service:
|
||||||
name: nginx
|
name: nginx
|
||||||
@ -88,13 +98,3 @@
|
|||||||
service:
|
service:
|
||||||
name: nginx
|
name: nginx
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
||||||
- name: Allow http port via ufw
|
|
||||||
community.general.ufw:
|
|
||||||
rule: allow
|
|
||||||
port: http
|
|
||||||
|
|
||||||
- name: Allow https port via ufw
|
|
||||||
community.general.ufw:
|
|
||||||
rule: allow
|
|
||||||
port: https
|
|
||||||
|
Loading…
Reference in New Issue
Block a user