--- - name: "Install PHP dependencies" community.general.composer: command: install working_dir: "{{ ansistrano_release_path.stdout }}" - name: "Install JS dependencies" community.general.npm: path: "{{ ansistrano_release_path.stdout }}" - name: "Compile SCSS" ansible.builtin.command: cmd: "./node_modules/gulp/bin/gulp.js build" chdir: "{{ ansistrano_release_path.stdout }}" creates: "{{ ansistrano_release_path.stdout }}/assets/css/main.css"