Re: How to open port?

2015-02-02 Thread Kevin Fenzi
On Mon, 02 Feb 2015 15:59:15 +0100 Miroslav Suchý msu...@redhat.com wrote: How do we open ports in ansible today? I want to open port 5672 for 172.24.0.10/24. Currently it is open only to: [root@fed-cloud09 ~]# iptables-save |grep 5672 -A INPUT -s 209.132.184.9/32 -p tcp -m multiport

Re: How to open port?

2015-02-02 Thread Miroslav Suchý
On 02/02/2015 04:10 PM, Kevin Fenzi wrote: Just copy paste the iptables section from base role and adjust the path to the iptables templates KISS - I will try this approach. Thanks -- Miroslav Suchy, RHCE, RHCDS Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys

How to open port?

2015-02-02 Thread Miroslav Suchý
How do we open ports in ansible today? I want to open port 5672 for 172.24.0.10/24. Currently it is open only to: [root@fed-cloud09 ~]# iptables-save |grep 5672 -A INPUT -s 209.132.184.9/32 -p tcp -m multiport --dports 5671,5672 -m comment --comment 001 amqp incoming amqp_209.132.184.9 -j