summaryrefslogtreecommitdiffstats
path: root/ansible/roles/rancher
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-03-17 19:28:33 +0200
committerSamuli Silvius <s.silvius@partner.samsung.com>2019-03-20 18:54:48 +0200
commit673677afe8cf7c1663183585e97861d27759b6a7 (patch)
tree8f2e002b7bca51ba0b68623b84d2bad99eabcdaf /ansible/roles/rancher
parentc580efee7cf133d479fdc4b736ebfeab09d2f246 (diff)
Improve kubectl role testability.
Move kubectl related functionality from rancher role to kubectl role and change order of execution in playbook to satisfy kubectl role dependency to rancher role regarding server value inserted into kubeconfig file. Introduced defaults and moved technical variables from group_vars into role defaults. Issue-ID: OOM-1730 Change-Id: I6339664ba52928566487edcdca8a3b42db86eeed Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'ansible/roles/rancher')
-rw-r--r--ansible/roles/rancher/tasks/rancher_server.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/rancher/tasks/rancher_server.yml b/ansible/roles/rancher/tasks/rancher_server.yml
index d30be729..ebee6cc7 100644
--- a/ansible/roles/rancher/tasks/rancher_server.yml
+++ b/ansible/roles/rancher/tasks/rancher_server.yml
@@ -19,7 +19,7 @@
delay: 30
until: not response.failed
-- name: Create kubernetes environment
+- name: Create rancher kubernetes environment
rancher_k8s_environment:
name: "{{ app_name }}"
descr: "Kubernetes environment for {{ app_name }}"