updated role to use array of packages directly
This commit is contained in:
parent
a9650108e4
commit
4a0cdd9e26
1 changed files with 40 additions and 41 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue