InterviewSolution
Saved Bookmarks
| 1. |
How does the Ansible firewalld module work? |
|
Answer» Ansible firewalld is used to manage firewall rules on host machines. This works just as Linux firewalld daemon for allowing/blocking services from the port. It is split into two major concepts
Few examples of setting up firewalld are - name: permit traffic in default ZONE for HTTPS SERVICE ansible.posix.firewalld: service: https permanent: yes state: enabled - name: do not permit traffic in default zone on port 8081/tcp ansible.posix.firewalld: port: 8081/tcp permanent: yes state: disabled |
|