Initial commit

This commit is contained in:
nd 2019-05-17 00:44:56 +02:00
commit 496e116830
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
3 changed files with 15 additions and 0 deletions

11
tasks/main.yml Normal file
View file

@ -0,0 +1,11 @@
- set_fact:
pkgs: "{{ packages.pkg | dict2items | rejectattr('value', 'none') | map(attribute='key') | list }}"
- name: list packages to install
debug:
var: pkgs
- name: install packages
apt:
pkg: "{{ pkgs }}"
update_cache: yes