diff options
Diffstat (limited to 'tasks/main.yml')
-rw-r--r-- | tasks/main.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..539e591 --- /dev/null +++ b/tasks/main.yml | |||
@@ -0,0 +1,32 @@ | |||
1 | --- | ||
2 | # tasks file for clever | ||
3 | - name: Setup environment for clever | ||
4 | include_tasks: setup.yml | ||
5 | tags: | ||
6 | - clever | ||
7 | - clever-setup | ||
8 | |||
9 | - name: Login to clever | ||
10 | include_tasks: login.yml | ||
11 | tags: | ||
12 | - clever | ||
13 | - clever-login | ||
14 | |||
15 | - name: Manage environment | ||
16 | include_tasks: environment.yml | ||
17 | tags: | ||
18 | - clever | ||
19 | - clever-env | ||
20 | |||
21 | - name: Include specific role | ||
22 | include_role: "{{ clever_app_role }}" | ||
23 | when: clever_app_role | ||
24 | tags: | ||
25 | - clever | ||
26 | - clever-specific-role | ||
27 | |||
28 | - name: Deploy app | ||
29 | include_tasks: deploy.yml | ||
30 | tags: | ||
31 | - clever | ||
32 | - clever-deploy | ||