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

rhel8cis_firewall_interface should be variable #57

Open
aaosopra opened this issue Dec 12, 2023 · 0 comments
Open

rhel8cis_firewall_interface should be variable #57

aaosopra opened this issue Dec 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@aaosopra
Copy link

Feature Request or Enhancement:

  • Feature [ Change rhel8cis_firewall_interface in ansible_vars_goss.yml.j2 to take variable]
  • Enhancement [Not everyone uses enp0s3 or enp0s8 network interface]

Summary of Request
Want to be able to control which network interfaces goss tests for.
Only allowing enp0s3 or enp0s8 creates false negatives

Describe alternatives you've considered
Disable the whole test

Suggested Code

in ansible_vars_goss.yml.j2:

rhel8cis_firewall_interface: {{ rhel8cis_firewall_interfaces }}

in defaults/main.yml

rhel8cis_firewall_interfaces: {{ ansible_default_ipv4.interface }}

@aaosopra aaosopra added the enhancement New feature or request label Dec 12, 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