nmasse-itix / OpenShift-Implementation-at-ITIX

OpenShift Origin Implementation at ITIX (mostly Ansible Playbooks)
MIT License
2 stars 1 forks source link

playbooks fails when firewalld is not installed on target machine #1

Open alainpham opened 6 years ago

alainpham commented 6 years ago

The switch-to-iptables playbook fails when there is no firewalld installed on the target machine. I'm using the qcow2 cloud image of RHEL 7.5.

Here is the output of the error

TASK [Disable firewalld] *** fatal: [prime]: FAILED! => {"changed": false, "msg": "Could not find the requested service firewalld: host"} to retry, use: --limit @/root/ansible/OpenShift-Implementation-at-ITIX/playbooks/switch-to-iptables.retry

nmasse-itix commented 6 years ago

Yes, given that the documentation now recommends firewalld, I could just remove this playbook. https://docs.openshift.com/container-platform/3.9/install_config/install/advanced_install.html#advanced-install-configuring-firewalls

nmasse-itix commented 6 years ago

"While iptables is the default firewall, firewalld is recommended for new installations."