TerryHowe / ansible-modules-hashivault

Ansible module for Hashicorp Vault.
https://pypi.python.org/pypi/ansible-modules-hashivault
MIT License
454 stars 158 forks source link

#450 added seal wrap parameter to hashivault secret engine #452

Closed tot19 closed 1 year ago

TerryHowe commented 1 year ago
ansible/modules/hashivault/hashivault_secret_engine.py:228:5: E303 too many blank lines (2)
ansible/modules/hashivault/hashivault_secret_engine.py:234:121: E501 line too long (139 > 120 characters)
ansible/modules/hashivault/hashivault_secret_engine.py:244:121: E501 line too long (13[9](https://github.com/TerryHowe/ansible-modules-hashivault/actions/runs/6433936602/job/17473108807?pr=452#step:5:10) > 120 characters)
TerryHowe commented 1 year ago

Closes: #450

TerryHowe commented 1 year ago
 An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: configure() got an unexpected keyword argument 'seal_wrap'
  fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/home/runner/.ansible/tmp/ansible-tmp-1696617947.625752-9286-215266148506769/AnsiballZ_hashivault_secret_engine.py\", line 107, in <module>\n    _ansiballz_main()\n  File \"/home/runner/.ansible/tmp/ansible-tmp-1696617947.625752-9286-215266148506769/AnsiballZ_hashivault_secret_engine.py\", line 99, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/home/runner/.ansible/tmp/ansible-tmp-1696617947.625752-9286-215266148506769/AnsiballZ_hashivault_secret_engine.py\", line 47, in invoke_module\n    runpy.run_module(mod_name='ansible.modules.hashivault.hashivault_secret_engine', init_globals=dict(_module_fqn='ansible.modules.hashivault.hashivault_secret_engine', _modlib_path=modlib_path),\n  File \"/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/runpy.py\", line 225, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/runpy.py\", line 97, in _run_module_code\n    _run_code(code, mod_globals, init_globals,\n  File \"/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/runpy.py\", line 87, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_hashivault_secret_engine_payload_n8x91xqz/ansible_hashivault_secret_engine_payload.zip/ansible/modules/hashivault/hashivault_secret_engine.py\", line 295, in <module>\n  File \"/tmp/ansible_hashivault_secret_engine_payload_n8x91xqz/ansible_hashivault_secret_engine_payload.zip/ansible/modules/hashivault/hashivault_secret_engine.py\", line 120, in main\n  File \"/tmp/ansible_hashivault_secret_engine_payload_n8x91xqz/ansible_hashivault_secret_engine_payload.zip/ansible/module_utils/hashivault.py\", line 154, in wrapper\n  File \"/tmp/ansible_hashivault_secret_engine_payload_n8x91xqz/ansible_hashivault_secret_engine_payload.zip/ansible/modules/hashivault/hashivault_secret_engine.py\", line 239, in hashivault_secret_engine\nTypeError: configure() got an unexpected keyword argument 'seal_wrap'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}