Separate kubelet support packages
Debian has no libxtables11 package Libxtables11 only for ubuntu while libxtables12 for debian Change-Id: I258bea9869d2126295d080ef9d00800b83161cc3
This commit is contained in:
parent
5ae782ff52
commit
2481767744
@ -10,7 +10,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: ubuntu | installing kubelet support packages
|
- name: ubuntu or debian | installing kubelet support packages
|
||||||
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
||||||
apt:
|
apt:
|
||||||
name: "{{item}}"
|
name: "{{item}}"
|
||||||
@ -23,9 +23,24 @@
|
|||||||
- libmnl0
|
- libmnl0
|
||||||
- libnfnetlink0
|
- libnfnetlink0
|
||||||
- libwrap0
|
- libwrap0
|
||||||
- libxtables11
|
|
||||||
- socat
|
- socat
|
||||||
|
|
||||||
|
- name: ubuntu | installing kubelet support packages
|
||||||
|
when: ansible_distribution == 'Ubuntu'
|
||||||
|
apt:
|
||||||
|
name: "{{item}}"
|
||||||
|
state: installed
|
||||||
|
with_items:
|
||||||
|
- libxtables11
|
||||||
|
|
||||||
|
- name: debian | installing kubelet support packages
|
||||||
|
when: ansible_distribution == 'Debian'
|
||||||
|
apt:
|
||||||
|
name: "{{item}}"
|
||||||
|
state: installed
|
||||||
|
with_items:
|
||||||
|
- libxtables12
|
||||||
|
|
||||||
- name: centos | installing kubelet support packages
|
- name: centos | installing kubelet support packages
|
||||||
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
||||||
yum:
|
yum:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user