change order

This commit is contained in:
Torma Kristóf 2022-04-16 14:21:53 +02:00
parent c0dc56c6a1
commit 4a08e9491c

View File

@ -6,6 +6,12 @@
name:
- nginx
- name: Enable and restart nginx daemon
service:
name: nginx
state: restarted
enabled: yes
- name: Upload site config to destination
copy:
src: nginx.conf
@ -14,11 +20,10 @@
owner: root
group: root
- name: Enable and restart nginx daemon
- name: Reload nginx daemon
service:
name: nginx
state: restarted
enabled: yes
state: reloaded
- name: Allow https port via ufw
community.general.ufw: