27th August 2021
I am a newbie when it comes to Ansible, and thank you in advance for all your help!!
I am using Ansible to set up firewalld services, and I am having problem with adding source IPs. I am sandboxing with 2 VMs, and both are running on Oracle Linux 8. When I first ran the playboo, it added the source IP, but for the 2nd time, it removed the source IPs. Then the third time it adds back in.
So I guess it is acting like a toggle switch everytime I run the playbook. The snip from the YML file is below for your reference. I would appreciate if someone could point out what I have missed. Thanks.
- name: adding source IP
STILL GOT QUERIES?