---
- name: Get path to active theme
  shell: "drush dd $(drush <THEME_DEFAULT_COMMAND> --format=string)"
  args:
    chdir: "{{ project_workspace }}"
  register: theme_path

- name: Check for SCSS
  stat:
    path: "{{ theme_path.stdout }}/config.rb"
  register: config_rb

- name: Compile SCSS
  become: no
  shell: "compass compile {{ theme_path.stdout }} --force"
  args:
    chdir: "{{ project_workspace }}"
  when: config_rb.stat.exists

Fix SCSS compilation for Drupal
[CIKit] Fix SCSS compilation for Drupal
