Fix bugs in ansible common role

Change-Id: I83e84aa79b97fd6a10bbd9e16c1dc1927ce4063f
This commit is contained in:
Xicheng Chang 2015-04-24 15:44:30 -07:00
parent c79f9d4e9d
commit b9a569d506
1 changed files with 4 additions and 1 deletions

View File

@ -1,11 +1,14 @@
---
- name: first update pkgs
apt: update_cache=yes
- name: install ubuntu-cloud-keyring(ubuntu)
apt: name={{ item }} state=latest
with_items:
- ubuntu-cloud-keyring
- name: add juno cloudarchive
apt_repository: repo={{ juno_cloud_archive }} state=present
apt_repository: repo="{{ juno_cloud_archive }}" state=present
- name: update packages once
apt: update_cache=yes