You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Dedicated | Create a team with members and enforce the list of members
community.grafana.grafana_team:
grafana_url: "{{ grafana_url }}"
url_username: "{{ grafana_user }}"
url_password: "{{ grafana_pass }}"
name: "{{ grafana_customer_team | default(grafana_customer_name) }}"
email: ""
# email: "{{ grafana_customer_users | first | map(attribute='email') }}"
members: "{{ (grafana_customer_users | map(attribute='email') | list) | union(default_team_members) }}"
enforce_members: true
state: "{{ grafana_customer_state | default('present') }}"
Error
TASK [customer_grafana : Dedicated | Create a team with members and enforce the list of members] ************************************************************************************************************************
Wednesday 20 November 2024 20:47:39 +0700 (0:00:00.017) 0:00:01.130 ****
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: invalid literal for int() with base 10: '0+security-01'
fatal: [localhost]: FAILED! => {
"changed": false,
"rc": 1
}
MSG:
MODULE FAILURE
See stdout/stderr for the exact error
MODULE_STDERR:
Traceback (most recent call last):
File "/home/i/.ansible/tmp/ansible-tmp-1732110459.3338897-526270-264601147465263/AnsiballZ_grafana_team.py", line 107, in <module>
_ansiballz_main()
File "/home/i/.ansible/tmp/ansible-tmp-1732110459.3338897-526270-264601147465263/AnsiballZ_grafana_team.py", line 99, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File "/home/i/.ansible/tmp/ansible-tmp-1732110459.3338897-526270-264601147465263/AnsiballZ_grafana_team.py", line 47, in invoke_module
runpy.run_module(mod_name='ansible_collections.community.grafana.plugins.modules.grafana_team', init_globals=dict(_module_fqn='ansible_collections.community.grafana.plugins.modules.grafana_team', _modlib_path=modlib_path),
File "<frozen runpy>", line 226, in run_module
File "<frozen runpy>", line 98, in _run_module_code
File "<frozen runpy>", line 88, in _run_code
File "/tmp/ansible_community.grafana.grafana_team_payload__g8t1k47/ansible_community.grafana.grafana_team_payload.zip/ansible_collections/community/grafana/plugins/modules/grafana_team.py", line 376, in <module>
File "/tmp/ansible_community.grafana.grafana_team_payload__g8t1k47/ansible_community.grafana.grafana_team_payload.zip/ansible_collections/community/grafana/plugins/modules/grafana_team.py", line 334, in main
File "/tmp/ansible_community.grafana.grafana_team_payload__g8t1k47/ansible_community.grafana.grafana_team_payload.zip/ansible_collections/community/grafana/plugins/modules/grafana_team.py", line 202, in __init__
File "/tmp/ansible_community.grafana.grafana_team_payload__g8t1k47/ansible_community.grafana.grafana_team_payload.zip/ansible_collections/community/grafana/plugins/modules/grafana_team.py", line 246, in get_version
ValueError: invalid literal for int() with base 10: '0+security-01'
Ansible task
Error
The result from the get version API
Which seems to fail the parsing here
The text was updated successfully, but these errors were encountered: