diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-03-17 19:28:33 +0200 |
---|---|---|
committer | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-03-20 18:54:48 +0200 |
commit | 673677afe8cf7c1663183585e97861d27759b6a7 (patch) | |
tree | 8f2e002b7bca51ba0b68623b84d2bad99eabcdaf /ansible/roles/rancher | |
parent | c580efee7cf133d479fdc4b736ebfeab09d2f246 (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.yml | 2 |
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 }}" |