Setting up of the apt repo should be independent of the roles
Change-Id: I1f8ba8f3f449f2a396fac7bff993794b79f17295
This commit is contained in:
parent
ec53936cd0
commit
37bfa6d818
@ -10,6 +10,12 @@
|
||||
mini_mon_host: 192.168.10.4
|
||||
zookeeper_hosts: "{{mini_mon_host}}:2181"
|
||||
pre_tasks:
|
||||
- name: Make sure apt https is available
|
||||
apt: name=apt-transport-https state=present
|
||||
- name: Add in custom apt key
|
||||
apt_key: url=https://region-a.geo-1.objects.hpcloudsvc.com/v1/46995959297574/mini-mon/public_repo/mon.gpg state=present
|
||||
- name: Add in custom apt repo
|
||||
apt_repository: repo='deb https://region-a.geo-1.objects.hpcloudsvc.com/v1/46995959297574/mini-mon/public_repo precise release' state=present
|
||||
- name: apt-get update
|
||||
apt: update_cache=yes
|
||||
tasks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user