Signed-off-by: Srinivasan Selvam <srinivasan.s.n@huawei.com>
Change-Id: Id4df9edec3ec841d6cf22e4a2067e51a94882128
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}'