Skip to content

Commit e6a701b

Browse files
skip node module removal with flag
1 parent 377626f commit e6a701b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • ansible/roles/git_node_service/tasks

ansible/roles/git_node_service/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
- name: remove node_modules
2828
sudo: yes
29+
when: do_not_remove is not defined
2930
file:
3031
path=/opt/runnable/{{ app_name }}/node_modules
3132
state=absent

0 commit comments

Comments
 (0)