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