Skip to content

Commit

Permalink
Add handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
xbinois committed Apr 22, 2020
1 parent 2e2015f commit 9670b85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 5 additions & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
- name: GULP init
command: gulp init
args:
chdir: "{{ omeka_content_dest }}"
9 changes: 1 addition & 8 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9670b85

Please sign in to comment.