From 4ef38fcee22f19b934b951f8b8ab9233b8c2a337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Posp=C3=AD=C5=A1ek?= Date: Wed, 24 Jul 2019 15:24:53 -0400 Subject: [PATCH] remove useless overhead (#59517) in the examples for the apt module, pass the list directly to the `pkg` option instead of providing it in `vars` --- lib/ansible/modules/packaging/os/apt.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/ansible/modules/packaging/os/apt.py b/lib/ansible/modules/packaging/os/apt.py index 88c6ea87a7d..5eb806c70f8 100644 --- a/lib/ansible/modules/packaging/os/apt.py +++ b/lib/ansible/modules/packaging/os/apt.py @@ -168,9 +168,7 @@ EXAMPLES = ''' - name: Install a list of packages apt: - name: "{{ packages }}" - vars: - packages: + pkg: - foo - foo-tools