Skip to content

Add a check that dev_path is valid #3

@Wtower

Description

@Wtower

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:

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions