Dear All,

I have below line from my ansible playbook which uses template 
<http://docs.ansible.com/template_module.html> module.

 - template: src=nginx_conf.j2 dest=/etc/nginx/nginx.conf backup=yes


This works great, but create a backup in the same directory (/etc/nginx/ in 
this case). Is there a way out to somehow create the backup on a different 
location, say /etc/nginx/backups/  directory.

Regards,
Vikas

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4b99897d-da81-44bd-a123-243ae9d6eac5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to