This is the right answer, thanks. The module was in a wrong folder. Now
everything is OK.
Thanks for everyone.
2017. január 20., péntek 16:26:58 UTC+1 időpontban Kai Stian Olstad a
következőt írta:
>
> On 20. jan. 2017 09:00, Johannes Kastl wrote:
> > On 19.01.17 11:48 Mátyás Kovács wrote:
>
On 20. jan. 2017 09:00, Johannes Kastl wrote:
On 19.01.17 11:48 Mátyás Kovács wrote:
Hi!
Thanks for the advice, I like it. But, I have a syntax error with this:
---
- hosts: all
tasks:
- iptables_raw:
The indentation is wrong, the dash should be indented as tasks is:
- hosts: all
On 19.01.17 11:48 Mátyás Kovács wrote:
> Hi!
>
> Thanks for the advice, I like it. But, I have a syntax error with this:
>
> ---
> - hosts: all
> tasks:
> - iptables_raw:
The indentation is wrong, the dash should be indented as tasks is:
- hosts: all
tasks:
- iptables_raw:
On 19.01.17 11:50 Mátyás Kovács wrote:
> In this case, I have to update a lot of file, because there are a
> lot of different rule on each servers.
If your existing files have valid iptables syntax, then this
conversion should be scriptable...
Johannes
--
You received this message because you
In this case, I have to update a lot of file, because there are a lot of
different rule on each servers.
But, I have another project, where I will use this solution.
Thanks!
2017. január 18., szerda 11:04:37 UTC+1 időpontban Johannes Kastl a
következőt írta:
>
> On 17.01.17 09:42 Mátyás Kovács
On 17.01.17 09:42 Mátyás Kovács wrote:
> I hope you can help me with this problem. There are 50 different
> servers, each of them has different iptables firewall and rules. I
> want them to be managed by Ansible. My idea is to create a csv
> file, like this:
Have a look at
On 17.01.2017 09:42, Mátyás Kovács wrote:
Hi All,
I hope you can help me with this problem.
There are 50 different servers, each of them has different iptables
firewall and rules. I want them to be managed by Ansible. My idea is to
create a csv file, like this:
I highly recommend against a
Hi All,
I hope you can help me with this problem.
There are 50 different servers, each of them has different iptables
firewall and rules. I want them to be managed by Ansible. My idea is to
create a csv file, like this:
hostname/ip, iptablesrule
testmachine05, iptables -A LOGNDROP -p udp -m