Actually that is pretty simple. You can set a default value for a variable either for a role or using a standard jinja2 filter...
Copy: backup={{backupfile|default (no)}}.... At least I think that that should work. Adam. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.