Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter rules: interface list order changes on re-deploy #45

Closed
zerwes opened this issue Dec 14, 2023 · 1 comment
Closed

filter rules: interface list order changes on re-deploy #45

zerwes opened this issue Dec 14, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@zerwes
Copy link
Collaborator

zerwes commented Dec 14, 2023

as opnsense has it's own logic of sorting the interfaces in a filter rule, ansible run will re-deploy them and cause a diff, despite beeng the same list but just in a different order.
avoid diff's like

     - key: type
       value: pass
     - key: interface
-      value: i1,i2,i3
+      value: i2,i3,i1
     - key: ipprotocol
       value: inet
     - key: statetype
@zerwes zerwes added the enhancement New feature or request label Dec 14, 2023
@zerwes zerwes self-assigned this Dec 14, 2023
zerwes added a commit that referenced this issue Dec 14, 2023
zerwes added a commit that referenced this issue Dec 14, 2023
zerwes added a commit that referenced this issue Dec 14, 2023
zerwes added a commit that referenced this issue Dec 14, 2023
zerwes added a commit that referenced this issue Dec 14, 2023
zerwes added a commit that referenced this issue Dec 14, 2023
zerwes added a commit that referenced this issue Dec 14, 2023
zerwes added a commit that referenced this issue Dec 14, 2023
@zerwes
Copy link
Collaborator Author

zerwes commented Dec 14, 2023

fixed in #47

@zerwes zerwes closed this as completed Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant