blob: 002dc9c55b65f9879833ae9cbe243f278ff72fd9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
---
# tasks file for clever
- name: Setup environment for clever
import_tasks: setup.yml
tags:
- clever
- clever-setup
- name: Login to clever
import_tasks: login.yml
tags:
- clever
- clever-login
- name: Manage environment
import_tasks: environment.yml
tags:
- clever
- clever-env
- name: Include specific tasks
include_tasks: "{{ clever_app_tasks_file }}"
when: clever_app_tasks_file is defined
- name: Deploy app
import_tasks: deploy.yml
when: not clever_restart_only is defined or not clever_restart_only
tags:
- clever
- clever-deploy
- name: Post deploy tasks
import_tasks: post_deploy.yml
when: not clever_restart_only is defined or not clever_restart_only
tags:
- clever
- clever-deploy
- clever-env
- name: Restart app
import_tasks: restart.yml
when: clever_restart_only is defined and clever_restart_only
tags:
- clever
- clever-restart
|