Skip to content

Commit

Permalink
fails to install packages
Browse files Browse the repository at this point in the history
errors out with 
"msg: No package matching '$item' is available" 
when $item is set, works when set to {{item}}
  • Loading branch information
doanerock committed May 13, 2014
1 parent 55e7a5f commit a3115eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpn/vpn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

tasks:
- name: Install required packages with apt
apt: name=$item state=latest update_cache=yes
apt: name={{item}} state=latest update_cache=yes
with_items:
- openswan
- xl2tpd
Expand Down

0 comments on commit a3115eb

Please sign in to comment.