On OSPd10 we ran into a port collision with zaqar-server
listening to port 9000. Originally port 9000 was chosen
because it is less "work" to allow selinux to let httpd
listen on that port. This commit allows us to change the
port and handle selinux still.
PS#3 - Implemented Justin's suggestion on using the ansible
module rather than a shell command to semanage. Do note that
I have run into inconsistent behavior with the module if you
are running older than ansible 2.1.1. See this now fixed
ansible issue:
PS#5 - Just use semanage, Ansible upstream does not have seport
fixed yet. View response on github for further details.
https://github.com/ansible/ansible-modules-extras/issues/2009
PS#7 - Now persists the iptables rule and results_in_httpd is
renamed to browbeat_results_in_httpd and exposed in the typical
vars file.
PS#12 - Implemented wfoster's handle firewalld/iptables ansible
tasks.
Change-Id: Ia859c6d87d6c4aba69c0db48be6b434d31162c72