---
- name: Check theme name
fail:
msg: Theme needs to be 'nord' or 'onedark'
when: theme != 'nord' and theme != 'onedark'
- name: Generate color variables
template:
src: palette.j2
dest: '{{ ansible_env.PWD }}/palette.yml'
force: yes