Skip to content

Commit

Permalink
issue #256 : Backup nginx.conf before replacing it
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Ansell <p_ansell@yahoo.com>
  • Loading branch information
ansell committed Jun 5, 2019
1 parent 782df41 commit 06a5606
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/nginx/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
group: "{{ root_group }}"
mode: 0644
validate: "nginx -t -c %s"
backup: yes
notify:
- restart nginx
tags:
Expand Down

0 comments on commit 06a5606

Please sign in to comment.