Backup nginx template before overwriting

This commit is contained in:
Corbin Bartsch 2022-04-11 18:17:49 -04:00
parent 1d1348c876
commit 54015ef705
Signed by: coredotbin
GPG Key ID: 32D3B80A08D93212

View File

@ -4,6 +4,7 @@
src: nginx.conf.j2 src: nginx.conf.j2
dest: "{{ nextcloud_nginx_config_path }}" dest: "{{ nextcloud_nginx_config_path }}"
mode: '0644' mode: '0644'
backup: true
become: true become: true
notify: notify:
- Restart nginx - Restart nginx