community.general/tests/unit/plugins
patchback[bot] 04b68c296b
[PR #9580/25a262bd backport][stable-10] Create onepassword_ssh_key plugin (#9632)
Create `onepassword_ssh_key` plugin (#9580)

* add 1password_ssh_key lookup

* refactor

* Delete onepassword_ssh_key.py

* Revert "Delete onepassword_ssh_key.py"

This reverts commit e17ff7e232.

* Delete onepassword_ssh_key.py

* add tests

* add test license

* cleanup

* refactor

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix indentation

* fix RETURN indentation

* use get_option to get ssh_format

* linting

* update project year in copyright

* add plugin to BOTMETA.yml

* use OnePassCLIv2's get_raw and use OnePass's token

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 25a262bdcf)

Co-authored-by: Mohammed Babelly <mohammed@nevercode.io>
2025-01-26 15:43:32 +01:00
..
become add systemd run0 as a become method (#8306) 2024-05-11 16:53:44 +02:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback [PR #9496/43d5d6e2 backport][stable-10] remove code handling unsupported Python versions (#9502) 2024-12-31 10:46:15 +01:00
connection [PR #8424/cee62a40 backport][stable-10] Proxmox remote pct connection (#9581) 2025-01-18 16:43:09 +01:00
filter [PR #9565/f5c1b9c7 backport][stable-10] add json_patch, json_patch_recipe and json_diff filters (#9597) 2025-01-21 21:04:41 +01:00
inventory [PR #9579/0de39a6f backport][stable-10] use open() as context manager (#9596) 2025-01-21 21:04:28 +01:00
lookup [PR #9580/25a262bd backport][stable-10] Create onepassword_ssh_key plugin (#9632) 2025-01-26 15:43:32 +01:00
module_utils [PR #9179/a3bd49c0 backport][stable-10] deps module utils: unit tests + minor improvement (#9182) 2024-11-25 19:49:12 +01:00
modules [PR #9598/f27d5e7a backport][stable-10] snap: add RV version (#9606) 2025-01-22 20:51:27 +01:00
plugin_utils Add test for unsafe plugin util (#8345) 2024-05-12 00:36:12 +02:00