summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/apt/tasks
diff options
context:
space:
mode:
authorMartin Krizek <martin.krizek@gmail.com>2019-10-23 21:02:25 +0200
committerGitHub <noreply@github.com>2019-10-23 21:02:25 +0200
commit18b9ce8b823aaca25e36bab63792d2117a2a8851 (patch)
tree48544c4754a8864f4fac549e56d334def71d7ecb /test/integration/targets/apt/tasks
parentFix ios_l2_interfaces skipping relevant L2 interfaces facts (#63779) (diff)
downloadansible-18b9ce8b823aaca25e36bab63792d2117a2a8851.tar.xz
ansible-18b9ce8b823aaca25e36bab63792d2117a2a8851.zip
Integration tests: prevent loop squashing (#63847)
1. the feature will be deprecated in 2.11 2. these modules support passing lists 3. loop squashing does not work with collections
Diffstat (limited to 'test/integration/targets/apt/tasks')
-rw-r--r--test/integration/targets/apt/tasks/apt.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/integration/targets/apt/tasks/apt.yml b/test/integration/targets/apt/tasks/apt.yml
index 9a51a7609e..f9fcdfe3d0 100644
--- a/test/integration/targets/apt/tasks/apt.yml
+++ b/test/integration/targets/apt/tasks/apt.yml
@@ -283,11 +283,12 @@
- name: Clean up
apt:
- name: "{{ item }}"
+ name: "{{ pkgs }}"
state: absent
- with_items:
- - libcaca-dev
- - libslang2-dev
+ vars:
+ pkgs:
+ - libcaca-dev
+ - libslang2-dev
# https://github.com/ansible/ansible/issues/38995
- name: build-dep for a package