Thandar Suresh:
Guys am getting an error while running the firewall module
- hosts: web
become: yes
tasks:- firewalld:
port: 3306/tcp
service: mysqld
source: 192.168.100.10
zone: public
state: enabled
permanent: yes
immediate: yes
- firewalld:
Error:
TASK [firewalld] *******************************************************************************
fatal: [web1]: FAILED! => {“changed”: false, “msg”: “can only operate on port, service, rich_rule, or interface at once”}
fatal: [web2]: FAILED! => {“changed”: false, “msg”: “can only operate on port, service, rich_rule, or interface at once”}