浏览代码

restart instead of reload after remove default.

Olivier LOCARD 9 年之前
父节点
当前提交
f01357976c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tasks/vhosts.yml

+ 1 - 1
tasks/vhosts.yml

@@ -4,7 +4,7 @@
     path: "{{ nginx_default_vhost_path }}"
     state: absent
   when: nginx_remove_default_vhost
-  notify: reload nginx
+  notify: restart nginx
 
 - name: Ensure nginx_vhost_path exists.
   file: