-
SUMMARYTried to write to engine kv v2 but without success. ISSUE TYPE
COMPONENT NAMEmodule vault_write.py ANSIBLE VERSION
COLLECTION VERSION
OS / ENVIRONMENTVault 1.8.2 STEPS TO REPRODUCE
EXPECTED RESULTSTo work same as with engine kv v1. ACTUAL RESULTSFollowing is the result if the path does not contain /data/
And this is the output when /data/ is in the path.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
OK. Found that it works this way:
|
Beta Was this translation helpful? Give feedback.
-
Hi @ricosega ! The issue you're experiencing is expected. The API paths for kv1 and lv2 are different, and you must include The We will be releasing kv-specific plugins and modules, and those will be kv-specific so given a kv version, they will know to contruct a correct path, and will not require manually adding For more information, please also see #229 ! |
Beta Was this translation helpful? Give feedback.
-
Several people have opened issues about this and experienced trouble with it. A new example is added to documentation via #245 and that will go live on the ansible docs sites after 2.5.0 is released. The docs can be seen here: |
Beta Was this translation helpful? Give feedback.
Several people have opened issues about this and experienced trouble with it. A new example is added to documentation via #245 and that will go live on the ansible docs sites after 2.5.0 is released.
The docs can be seen here:
https://docs.ansible.com/ansible/devel/collections/community/hashi_vault/vault_write_module.html#examples