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

Error when editing virtual server with content_rewriting_list #6

Open
snymanje opened this issue Dec 21, 2024 · 0 comments
Open

Error when editing virtual server with content_rewriting_list #6

snymanje opened this issue Dec 21, 2024 · 0 comments

Comments

@snymanje
Copy link

When adding the virtual server with a content_rewriting_list it works 100%, but when editing, I get the below error.

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'content_rewriting_list,'
fatal: [fortiadc01]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "/root/.ansible/tmp/ansible-local-10u62ekdu4/ansible-tmp-1734772302.8556116-282-88752485228396/AnsiballZ_fadcos_virtual_server.py", line 107, in \n _ansiballz_main()\n File "/root/.ansible/tmp/ansible-local-10u62ekdu4/ansible-tmp-1734772302.8556116-282-88752485228396/AnsiballZ_fadcos_virtual_server.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/root/.ansible/tmp/ansible-local-10u62ekdu4/ansible-tmp-1734772302.8556116-282-88752485228396/AnsiballZ_fadcos_virtual_server.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.fortinet.fortiadc.plugins.modules.fadcos_virtual_server', init_globals=dict(_module_fqn='ansible_collections.fortinet.fortiadc.plugins.modules.fadcos_virtual_server', _modlib_path=modlib_path),\n File "/usr/lib64/python3.9/runpy.py", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_fortinet.fortiadc.fadcos_virtual_server_payload_7r4og91d/ansible_fortinet.fortiadc.fadcos_virtual_server_payload.zip/ansible_collections/fortinet/fortiadc/plugins/modules/fadcos_virtual_server.py", line 505, in \n File "/tmp/ansible_fortinet.fortiadc.fadcos_virtual_server_payload_7r4og91d/ansible_fortinet.fortiadc.fadcos_virtual_server_payload.zip/ansible_collections/fortinet/fortiadc/plugins/modules/fadcos_virtual_server.py", line 473, in main\n File "/tmp/ansible_fortinet.fortiadc.fadcos_virtual_server_payload_7r4og91d/ansible_fortinet.fortiadc.fadcos_virtual_server_payload.zip/ansible_collections/fortinet/fortiadc/plugins/modules/fadcos_virtual_server.py", line 298, in needs_update\nKeyError: 'content_rewriting_list,'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant