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