move defaults to defaults/main.yml rather than logic in template