mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Install python-firewall as ansible needs python2 firewalld support
This commit is contained in:
parent
fc5c063a2d
commit
83bd4d0903
7
contrib/ansible/roles/common/tasks/fedora-install.yml
Normal file
7
contrib/ansible/roles/common/tasks/fedora-install.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- name: Generic | Install Firewalld Python2 Package
|
||||||
|
action: "{{ ansible_pkg_mgr }}"
|
||||||
|
args:
|
||||||
|
name: python-firewall
|
||||||
|
state: latest
|
||||||
|
when: ansible_distribution_major_version|int >= 22
|
@ -19,3 +19,6 @@
|
|||||||
|
|
||||||
- include: centos.yml
|
- include: centos.yml
|
||||||
when: ansible_distribution == "CentOS"
|
when: ansible_distribution == "CentOS"
|
||||||
|
|
||||||
|
- include: fedora-install.yml
|
||||||
|
when: not is_atomic and ansible_distribution == "Fedora"
|
||||||
|
Loading…
Reference in New Issue
Block a user