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
i think i found a small error in the code. In this part of the code the variable "password_update" is used, but has not been assigned beforehand. This generates the following error message:
failed: [localhost] (item={'name': 'pve', 'userid': '<>@pbs'}) => changed=false
ansible_loop_var: item
item:
name: pve
userid: <>@pbs
module_stderr: |-
/usr/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.19.195.205'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
/usr/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.19.195.205'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
Traceback (most recent call last):
File "/home/[email protected]/.ansible/tmp/ansible-tmp-1718537728.2412105-197171-40902852550130/AnsiballZ_pbs_token.py", line 107, in <module>
_ansiballz_main()
File "/home/[email protected]/.ansible/tmp/ansible-tmp-1718537728.2412105-197171-40902852550130/AnsiballZ_pbs_token.py", line 99, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File "/home/[email protected]/.ansible/tmp/ansible-tmp-1718537728.2412105-197171-40902852550130/AnsiballZ_pbs_token.py", line 47, in invoke_module
runpy.run_module(mod_name='ansible_collections.maxhoesel.proxmox.plugins.modules.pbs_token', init_globals=dict(_module_fqn='ansible_collections.maxhoesel.proxmox.plugins.modules.pbs_token', _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_maxhoesel.proxmox.pbs_token_payload_avfvjzbc/ansible_maxhoesel.proxmox.pbs_token_payload.zip/ansible_collections/maxhoesel/proxmox/plugins/modules/pbs_token.py", line 179, in <module>
File "/tmp/ansible_maxhoesel.proxmox.pbs_token_payload_avfvjzbc/ansible_maxhoesel.proxmox.pbs_token_payload.zip/ansible_collections/maxhoesel/proxmox/plugins/modules/pbs_token.py", line 162, in main
KeyError: 'password_update'
module_stdout: ''
msg: |-
MODULE FAILURE
See stdout/stderr for the exact error
rc: 1
This error occurs if the token already exists
Version 5.0.1
The text was updated successfully, but these errors were encountered:
Hey everyone,
i think i found a small error in the code. In this part of the code the variable "password_update" is used, but has not been assigned beforehand. This generates the following error message:
This error occurs if the token already exists
Version 5.0.1
The text was updated successfully, but these errors were encountered: