diff options
Diffstat (limited to 'tasks/main.yml')
-rw-r--r-- | tasks/main.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml index 3c59c90..002dc9c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml | |||
@@ -24,13 +24,22 @@ | |||
24 | 24 | ||
25 | - name: Deploy app | 25 | - name: Deploy app |
26 | import_tasks: deploy.yml | 26 | import_tasks: deploy.yml |
27 | when: not clever_restart_only is defined or not clever_restart_only | ||
27 | tags: | 28 | tags: |
28 | - clever | 29 | - clever |
29 | - clever-deploy | 30 | - clever-deploy |
30 | 31 | ||
31 | - name: Post deploy tasks | 32 | - name: Post deploy tasks |
32 | import_tasks: post_deploy.yml | 33 | import_tasks: post_deploy.yml |
34 | when: not clever_restart_only is defined or not clever_restart_only | ||
33 | tags: | 35 | tags: |
34 | - clever | 36 | - clever |
35 | - clever-deploy | 37 | - clever-deploy |
36 | - clever-env | 38 | - clever-env |
39 | |||
40 | - name: Restart app | ||
41 | import_tasks: restart.yml | ||
42 | when: clever_restart_only is defined and clever_restart_only | ||
43 | tags: | ||
44 | - clever | ||
45 | - clever-restart | ||