Skip to content

Instantly share code, notes, and snippets.

@marzdgzmn
Created April 26, 2019 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marzdgzmn/684212f49ab85930c3914b465b0e3fa1 to your computer and use it in GitHub Desktop.
Save marzdgzmn/684212f49ab85930c3914b465b0e3fa1 to your computer and use it in GitHub Desktop.
- name: Assign private interface to internal zone
firewalld:
zone: internal
interface: eth0
permanent: true
state: enabled
when: "'eth0' in ansible_interfaces"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment