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

Problem: list rule return an empty list #174

Open
Andre15711 opened this issue Feb 19, 2025 · 0 comments
Open

Problem: list rule return an empty list #174

Andre15711 opened this issue Feb 19, 2025 · 0 comments
Labels

Comments

@Andre15711
Copy link

Modules

ansibleguy.opnsense.list

Version

ansibleguy.opnsense                      1.2.12

Ansible Version

ansible [core 2.17.5]
  config file = /home/andre/GitLab/ansible/ansible.cfg
  configured module search path = ['/home/andre/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /home/andre/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.12.3 (main, Jan 17 2025, 18:03:48) [GCC 13.3.0] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

OPNSense Version

25.1.1

OPNSense-Plugin Version

Issue

I tried to get familiar with this ansible collection. Using the list module is working fine with interfaces etc. But when I try get get the rules, with 'target: rule' I only receive an empty data list.

TASK [Pulling rules] ************************************************************************************************************************************************************************
ok: [localhost]

TASK [Printing rules] ***********************************************************************************************************************************************************************
ok: [localhost] =>
existing_rule:
ansible_facts:
discovered_interpreter_python: /usr/bin/python3.12
changed: false
data: []
failed: false

PLAY RECAP **********************************************************************************************************************************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

Config Ansible

Config OPNSense

Debug Output

Profiling Output

@Andre15711 Andre15711 changed the title Problem: Problem: list rule return an empty list Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant