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
Remove k8s role from center node
[ealt-edge.git]
/
ocd
/
infra
/
playbooks
/
roles
/
k3s
/
tasks
/
install.yml
diff --git
a/ocd/infra/playbooks/roles/k3s/tasks/install.yml
b/ocd/infra/playbooks/roles/k3s/tasks/install.yml
index
70cde7c
..
bef74d9
100644
(file)
--- a/
ocd/infra/playbooks/roles/k3s/tasks/install.yml
+++ b/
ocd/infra/playbooks/roles/k3s/tasks/install.yml
@@
-32,6
+32,9
@@
- debug: var=ansible_host
- debug: var=ansible_host
+- debug:
+ msg: K3 Installation started on {{ ansible_facts['distribution'] }} MEP Node
+
- name: "INSTALL: Disabling firewall for successfull k3s installation on CentOs"
shell:
cmd: systemctl stop firewalld
- name: "INSTALL: Disabling firewall for successfull k3s installation on CentOs"
shell:
cmd: systemctl stop firewalld
@@
-43,12
+46,6
@@
when: ansible_facts['distribution'] == "CentOS" and result is failed
ignore_errors: true
when: ansible_facts['distribution'] == "CentOS" and result is failed
ignore_errors: true
-- name: "INSTALL: install k3s-selinux-0.1.1-rc1.el7.noarch.rpm"
- shell:
- cmd: rpm -i https://rpm.rancher.io/k3s-selinux-0.1.1-rc1.el7.noarch.rpm
- when: ansible_facts['distribution'] == "CentOS" and result is failed
- ignore_errors: true
-
- name: "INSTALL: get interface name"
shell:
cmd: ip a |grep {{ ansible_host }} |awk '{print $NF}'
- name: "INSTALL: get interface name"
shell:
cmd: ip a |grep {{ ansible_host }} |awk '{print $NF}'