fixed package dict to list convert
This commit is contained in:
parent
56c2799e56
commit
8c485daf26
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: install basic packages
|
- name: install basic packages
|
||||||
apt:
|
apt:
|
||||||
pkg: "{{ packages }}"
|
pkg: "{{ packages | dict2items | rejectattr('value', 'none') | map(attribute='key') | list }}"
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: copy environment
|
- name: copy environment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue