diff options
author | Gaƫtan <36162164+gaetanfl@users.noreply.github.com> | 2018-02-23 18:10:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-23 18:10:48 +0100 |
commit | 4fdd3eb566b8b322789f74990181acc243ffb578 (patch) | |
tree | 4f0e9ffda46afe5e571d7071dd8e08c34a5b8928 /tasks/main.yml | |
parent | 4882b0d33ce42a3b01ac9689d1809e362f314d3f (diff) | |
parent | 8692bc2704f2a38890c93577e8f6743e611d5308 (diff) | |
download | ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.tar.gz ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.tar.zst ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.zip |
Merge pull request #1 from gaetanfl/first_try
Migrating single tasks file to a galaxy role
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..fa23f6c --- /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 tasks | ||
22 | include_tasks: "{{ clever_app_tasks }}" | ||
23 | when: clever_app_tasks is defined | ||
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 | ||