I have the below variables , In some servers I just need to keep the value empty as I dont want to open the port
but when I keep it empty its returning error . any solution ??? any
I putting my variables in all under group-vars
fatal: [uat_cdxapp]: FAILED! => {
“changed”: false,
“module_stderr”: “Shared connection to 10.1.116.149 closed.\r\n”,
“module_stdout”: “Traceback (most recent call last):\r\n File "/tmp/ansible_rfACo3/ansible_module_firewalld.py", line 712, in \r\n main()\r\n File "/tmp/ansible_rfACo3/ansible_module_firewalld.py", line 567, in main\r\n port, protocol = module.params[‘port’].strip().split(‘/’)\r\nValueError: need more than 1 value to unpack\r\n”,
“msg”: “MODULE FAILURE”,
“rc”: 1
app_officer_nsecure_port: 8080/tcp
app_officer_secure_port:
app_client_nsecure_port: 80/tcp
app_client_secure_port: 443/tcp