From cb5ae68b968f28c1cedee3720ff14cf5fa1ab92c Mon Sep 17 00:00:00 2001 From: baigk Date: Mon, 9 Nov 2015 00:37:19 -0800 Subject: suport installing openstack kilo on centos 7 JIRA: COMPASS-141 Change-Id: I8b4eeacd802124cd05d17c7c24682254f0c567f7 Signed-off-by: baigk --- deploy/adapters/ansible/roles/common/tasks/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'deploy/adapters/ansible/roles/common/tasks') diff --git a/deploy/adapters/ansible/roles/common/tasks/main.yml b/deploy/adapters/ansible/roles/common/tasks/main.yml index 04a18a83..3114e638 100644 --- a/deploy/adapters/ansible/roles/common/tasks/main.yml +++ b/deploy/adapters/ansible/roles/common/tasks/main.yml @@ -5,6 +5,11 @@ apt: pkg=landscape-common state=absent purge=yes when: ansible_os_family == "Debian" + +- name: install pip packages + pip: name={{ item }} state=present extra_args='--pre' + with_items: pip_packages + - name: update hosts files to all hosts template: src=hosts dest=/etc/hosts backup=yes @@ -35,7 +40,7 @@ file: path=~/.pip state=directory - name: update pip.conf - template: src=pip.conf dest=~/.pip/pip.conf + template: src=pip.conf dest=~/.pip/{{ pip_conf }} - name: update ntp conf template: src=ntp.conf dest=/etc/ntp.conf backup=yes -- cgit 1.2.3-korg