From d0e854aa72db4d49662f8ba9508ef74dc4dae220 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 6 Oct 2019 20:17:01 +0200 Subject: [PATCH] =?UTF-8?q?d=C3=A9place=20le=20d=C3=A9marrage=20de=20nginx?= =?UTF-8?q?=20apr=C3=A9s=20la=20copy=20de=20la=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 53011f2..4fa98eb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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