diff --git a/handlers/main.yml b/handlers/main.yml new file mode 100644 index 0000000..8d0e63e --- /dev/null +++ b/handlers/main.yml @@ -0,0 +1,5 @@ +--- +- name: GULP init + command: gulp init + args: + chdir: "{{ omeka_content_dest }}" diff --git a/tasks/main.yml b/tasks/main.yml index 6f50684..91b341a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -32,14 +32,7 @@ with_items: - "gulp-cli" - "gulp-sass" - register: npm_install_changed - -- name: GULP init - command: gulp init - args: - chdir: "{{ omeka_content_dest }}" - when: npm_install_changed.changed - tags: ['skip_ansible_lint'] + notify: GULP init - name: Copy database.ini template: