[PR #11942/99416040 backport][stable-12] lmdb_kv lookup, guide_alicloud: fix deprecated list-format vars: in examples and docs (#11965)

lmdb_kv lookup, guide_alicloud: fix deprecated list-format `vars:` in examples and docs (#11942)

docs: fix deprecated list-format vars: in examples and docs


(cherry picked from commit 9941604089)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
patchback[bot]
2026-05-01 21:49:48 +02:00
committed by GitHub
parent f37d543eb9
commit 22deae25c9
2 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ Normally, you'll use the following pattern for plays that provision Alicloud res
- hosts: localhost
connection: local
vars:
- ...
...
tasks:
- ...

View File

@@ -36,7 +36,7 @@ EXAMPLES = r"""
ansible.builtin.debug:
msg: "Hello from {{ item.0 }} a.k.a. {{ item.1 }}"
vars:
- lmdb_kv_db: jp.mdb
lmdb_kv_db: jp.mdb
with_community.general.lmdb_kv:
- "n*"
@@ -45,7 +45,7 @@ EXAMPLES = r"""
that:
- item == 'Belgium'
vars:
- lmdb_kv_db: jp.mdb
lmdb_kv_db: jp.mdb
with_community.general.lmdb_kv:
- be
"""
@@ -81,7 +81,7 @@ class LookupModule(LookupBase):
variable 'lmdb_kv_db' is not set:
vars:
- lmdb_kv_db: "jp.mdb"
lmdb_kv_db: "jp.mdb"
"""
if HAVE_LMDB is False:
raise AnsibleError("Can't LOOKUP(lmdb_kv): this module requires lmdb to be installed")