déplace le démarrage de nginx aprés la copy de la config
This commit is contained in:
parent
cf1936270b
commit
d0e854aa72
@ -27,8 +27,7 @@
|
||||
- include_tasks: setup-Archlinux.yml
|
||||
when: ansible_os_family == 'Archlinux'
|
||||
|
||||
- name: Ensure nginx is started and enabled to start at boot.
|
||||
service: name=nginx state=started enabled=yes
|
||||
|
||||
# Vhost configuration.
|
||||
- import_tasks: vhosts.yml
|
||||
|
||||
@ -54,5 +53,6 @@
|
||||
- reload nginx
|
||||
when: nginx_realIP_Proxy is defined
|
||||
|
||||
|
||||
- name: Ensure nginx is started and enabled to start at boot.
|
||||
service: name=nginx state=started enabled=yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user