updated role to use array of packages directly

This commit is contained in:
nd 2018-10-28 19:22:42 +01:00
parent a9650108e4
commit 4a0cdd9e26
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -1,10 +1,7 @@
--- ---
- name: install basic packages - name: install basic packages
apt: apt:
pkg: "{{ item }}" pkg:
state: latest
update_cache: yes
with_items:
- aptitude - aptitude
- bsdtar - bsdtar
- curl - curl
@ -44,6 +41,8 @@
- net-tools - net-tools
- sudo - sudo
- bzip2 - bzip2
state: latest
update_cache: yes
- name: copy environment - name: copy environment
copy: copy: