Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Logs added with msgs
[ealt-edge.git]
/
ocd
/
infra
/
playbooks
/
roles
/
k8s
/
tasks
/
install.yml
diff --git
a/ocd/infra/playbooks/roles/k8s/tasks/install.yml
b/ocd/infra/playbooks/roles/k8s/tasks/install.yml
index
2b32b6d
..
cd55ebf
100644
(file)
--- a/
ocd/infra/playbooks/roles/k8s/tasks/install.yml
+++ b/
ocd/infra/playbooks/roles/k8s/tasks/install.yml
@@
-22,7
+22,13
@@
- debug:
msg: k8s is already present
- debug:
msg: k8s is already present
- when: result.rc == 0
+ when: result.stdout != ""
+
+- debug:
+# yamllint disable rule:line-length
+ msg: Ignore Uninstall Log , k8s not installed continue with Installation
+# yamllint disable rule:line-length
+ when: result.stdout == ""
- name: Install k8s
shell:
- name: Install k8s
shell: