-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
We are using this collection to query the users on gaia gateways
- name: Gather current Gaia users
check_point.gaia.cp_gaia_user_facts:
register: current_users
tags:
- always
- name: List of current Gaia users
ansible.builtin.debug:
msg: |
Current users on the system:
{% for user in current_users.ansible_facts.objects %}
- Username: {{ user.name }} - (Role(s): {{ user.roles | join(', ') }})
{% endfor %}
tags:
- debug
fails with following error:
[fatal: [fwinternet1]: FAILED! => changed=false
msg: 'Checkpoint device returned error 500 with message {''code'': ''generic_error'', ''errors'': ''1'', ''msg'': ''General Exception''}'](msg: 'Checkpoint device returned error 500 with message {''code'': ''generic_error'', ''errors'': ''1'', ''msg'': ''General Exception''}')
Other tasks are working fine.
Is this related to: #60 ?
Versions used:
check_point.gaia 5.0.1
ansible [core 2.15.12]
python version = 3.9.19 (main, May 16 2024, 08:45:40) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)]
jinja version = 3.1.4
libyaml = True
OS: Gaia R81.20
HW: QLS250
Metadata
Metadata
Assignees
Labels
No labels