From 8c485daf2685e3202205f25a806fbf8602798506 Mon Sep 17 00:00:00 2001 From: nd Date: Fri, 11 Jan 2019 01:15:45 +0100 Subject: [PATCH] fixed package dict to list convert --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0dcb8c0..9f39e02 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: install basic packages apt: - pkg: "{{ packages }}" + pkg: "{{ packages | dict2items | rejectattr('value', 'none') | map(attribute='key') | list }}" update_cache: yes - name: copy environment