Skip to content

Commit

Permalink
Merge pull request #47 from betrcode/master
Browse files Browse the repository at this point in the history
Use test command to check that the wp-load.php file exists
  • Loading branch information
tersmitten authored Oct 17, 2016
2 parents 6bf857b + 4873f10 commit e0d6083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/core.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tasks file for wordpress, core
---
- name: core | check download
shell: "ls {{ item.path }} | grep -q 'wp-'"
command: "test -f {{ item.path }}/wp-load.php"
register: check_download
failed_when: false
changed_when: false
Expand Down

0 comments on commit e0d6083

Please sign in to comment.