summaryrefslogtreecommitdiffstats
path: root/xci/installer
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-03-09 09:17:16 +0000
committerMarkos Chandras <mchandras@suse.de>2018-03-10 09:49:56 +0000
commitdc0fee7c092df7c2c1ff7627e33107969b46c6d2 (patch)
treee430482d181e0df9ec9d17ab11198bd17e1920d1 /xci/installer
parent75e75b5a411c376c52e9117742016b39a25a6ec3 (diff)
xci: Move functest required packages to the functest role
The docker packages that we install in the OPNFV VM are needed by functest so add them to the related role. Change-Id: I6ebe76fd030859f757d41ecf20c30ab76888ee9c Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/installer')
-rw-r--r--xci/installer/osa/playbooks/configure-opnfvhost.yml22
1 files changed, 6 insertions, 16 deletions
diff --git a/xci/installer/osa/playbooks/configure-opnfvhost.yml b/xci/installer/osa/playbooks/configure-opnfvhost.yml
index deeab182..202cf361 100644
--- a/xci/installer/osa/playbooks/configure-opnfvhost.yml
+++ b/xci/installer/osa/playbooks/configure-opnfvhost.yml
@@ -103,10 +103,14 @@
- name: install python Crypto module
package:
name: "{{ python_crypto_package_name }}"
- - name: install PyYAML
+ - name: install opnfv pip required packages
pip:
- name: pyyaml
+ name: "{{ item }}"
state: present
+ with_items:
+ - pyyaml
+ - python-neutronclient
+ - python-openstackclient
- name: generate password token
command: "python pw-token-gen.py --file {{OPENSTACK_OSA_ETC_PATH}}/user_secrets.yml"
args:
@@ -135,20 +139,6 @@
content: "{{ xci_ssl_key }}"
dest: "/etc/ssl/private/xci.key"
become: true
- - name: install opnfv required packages
- package:
- name: "{{ opnfv_required_packages }}"
- state: latest
- # Docker is needed for functest
- - name: Ensure Docker service is started and enabled
- service:
- name: "{{ docker_service_name }}"
- state: started
- enabled: yes
- - name: install opnfv required pip packages
- pip:
- name: "{{ opnfv_required_pip }}"
- state: present
- hosts: localhost
remote_user: root