aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/main.yml
diff options
context:
space:
mode:
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2018-02-22 11:53:19 +0100
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2018-02-22 11:57:08 +0100
commitf7dd5848f817bb42cb06eadc5444ec390aa813ba (patch)
tree7459517d6b8b850959313d5c30f25f18fcda5531 /tasks/main.yml
parent4882b0d33ce42a3b01ac9689d1809e362f314d3f (diff)
downloadansible-clever-f7dd5848f817bb42cb06eadc5444ec390aa813ba.tar.gz
ansible-clever-f7dd5848f817bb42cb06eadc5444ec390aa813ba.tar.zst
ansible-clever-f7dd5848f817bb42cb06eadc5444ec390aa813ba.zip
Migrating single tasks file to a galaxy role
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml32
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