k8sdemo icon indicating copy to clipboard operation
k8sdemo copied to clipboard

Firewalld and its python 2 module are required for this module, version 2.0.11 or newer required (3.0.9 or newer for offline operations)

Open patsevanton opened this issue 7 years ago • 2 comments

TASK [etcd : Setup etcd] ************************************************************************************************************************************************************************************* ok: [k8s-master.local]

TASK [config : Setup firewall ports] ************************************************************************************************************************************************************************* failed: [k8s-master.local] (item=2379-2380/tcp) => {"failed": true, "item": "2379-2380/tcp", "msg": "firewalld and its python 2 module are required for this module, version 2.0.11 or newer required (3.0.9 or newer for offline operations) \n No module named firewall.config"}

[centos@k8s-master ~]$ cat /etc/redhat-release 
CentOS Linux release 7.3.1611 (Core) 

localhost где ansible-playbook

/k8sdemo/ansible (master) $ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.1 LTS
Release:	16.04
Codename:	xenial

patsevanton avatar Jul 07 '17 06:07 patsevanton

You can try

yum install firewalld

sydnever avatar Mar 12 '18 08:03 sydnever

Newer systems use dnf install python3-firewall for the same.

768kb avatar Jul 28 '22 09:07 768kb