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