Skip to content

Commit

Permalink
nginx: fix typo and make systemd optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mayli committed Jul 17, 2018
1 parent 99350ca commit db07669
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ansible/tasks/nginx/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@
path: /etc/nginx/sites-enabled/default

- name: Restart nginx
when: nginxconf.chnaged
when: nginxconf.changed
service: name=nginx state=restarted enabled=yes
ignore_errors: yes # ignore error when systemd isn't running

0 comments on commit db07669

Please sign in to comment.