Skip to content

Commit e251388

Browse files
remove only when defined
1 parent 812aa7c commit e251388

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ node_modules
22
ca-key.pem
33
pass
44
hellorunnable
5+
dump.rdb
6+
erl_crash.dump
7+
npm-debug.log

ansible/roles/git_node_service/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
- name: remove node_modules
2121
sudo: yes
22-
when: do_not_remove is not defined
22+
when: remove_node_modules is defined
2323
file:
2424
path=/opt/runnable/{{ app_name }}/node_modules
2525
state=absent

0 commit comments

Comments
 (0)