-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Because of the fact that a project may be deployed by any dev machine, and the dev_path may differ and eventually lead to a mess up, add a check that it is a valid path on local.
Use:
- name: ...
local_action: stat path={{ dev_path }}/index.wsgi
register: X
fail_when: X.stat.exists == False
Relevant links: