-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Got something interesting there,

I have firewalld rules like this:

- - name: Ensure FirewallD is started and enabled
  service: name=firewalld state=started enabled=yes

- - name: Enabling firewalld on MariaDB Server
  firewalld: rich_rule="rule port port={{ item.port }} protocol={{
item.proto }} family='ipv4' source address={{ item.address }} accept"
permanent=true immediate=yes state=enabled
  with_items:
     - { port: 3306, address: 192.168.2.0/24, proto: tcp }
     - { port: 4567, address: 192.168.2.0/24, proto: tcp }
     - { port: 4568, address: 192.168.2.0/24, proto: tcp }
     - { port: 4444, address: 192.168.2.0/24, proto: tcp }
     - { port: 4567, address: 192.168.2.0/24, proto: udp }
  ignore_errors: True


should I use `ignore_errors: True` ? If not, the result will be error
if the port already enabled.

I use ansible 1.9.4.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWnEYbAAoJEOV/0iCgKM1wYwMP/1q15jhG22Up7hSTDk1Vxp3z
x4eiu5VbFwci9AZP9HdQFR199QaydtjtZNEfnUIN5TaciepRlVpjmA14wdd9ggob
T5MoKwdIs0osHGKhPnCDWaiJD19YGKOyjOif58zC3Lmt1G3bFIU95MCOnRKybaw6
SViZkPUUNuAcpqySlkmDs6swiJHfejvsgULYfFoR3zTZXT7W9Md1UkijiI0nmqvJ
MrcL1A9NfJ+fEq7d4xlC/axh1K4HCW+wWt0Z8bWylVA8NzOqz+Hmxhl+Az4BmbIC
6W+/7uMWKDbq5Pp0zFJnN2s30qjiSfV8RdVOZ78/yWp/CqGpcNg6aSa9hrlY+Zsw
nvg43/aLH1vP6giE75mA0gBmK1Mmc9ByKIiFVlaw1kdj9ApSZhbY9QaAkl6DcBKl
l2DNTfUUXz23toMqok177wN/39tC2KGOifbLS7Kega7abzBPWH/GsGJipcuDX/fx
xCUjij+gWYolG+bTuUp6VtCOnMmN7PWhWAuRwM5/N2Ol0i6ksq2fx4PM3kR4FIwT
HW53rMpLzBLzdYqLrhZxILntW5lW2/1cdeCKqZx/nTuwFaBIOfBvU2gfv+fzyB25
jcCHSr1Er9TsOaUIFDFkKp+uBLjlk1VjBo2u6va0ck4DFNtOKMh6XY5Es8OPpHxV
y3X9pv/S0ARnK3h5BP94
=wR/x
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/569C4620.2080304%40xtremenitro.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to