From 3c547acc840f4af34803097f172f9cb07ba9aca1 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Fri, 7 Sep 2018 08:16:17 +0000 Subject: [PATCH] ensure nginx is started --- tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index fa732bf..d63a110 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -32,3 +32,8 @@ with_items: "{{ nginx_vhosts }}" loop_control: loop_var: vhost + +- name: ensure nginx is started + service: + name: nginx + state: started