Add required packages install for AIO 71/47671/2
authorVictor Morales <victor.morales@intel.com>
Wed, 22 Nov 2017 12:55:05 +0000 (04:55 -0800)
committerVictor Morales <victor.morales@intel.com>
Wed, 22 Nov 2017 13:50:54 +0000 (05:50 -0800)
The All-in-One flavor is missing the tasks for the installation of
distro and pip packages, these tasks are performed by other flavors.

Change-Id: Ia0f707c08acd47e1dc4577916da58e338ba187fa
Signed-off-by: Victor Morales <victor.morales@intel.com>
xci/file/aio/configure-opnfvhost.yml

index 6b140c1..f24f470 100644 (file)
         chdir: "{{OPENSTACK_OSA_PATH}}"
       environment:
         SCENARIO: "{{ (XCI_CEPH_ENABLED == 'true') | ternary('ceph', 'aio') }}"
+    - name: Load distribution variables
+      include_vars:
+        file: ../var/{{ ansible_os_family }}.yml
+    - name: install opnfv required packages
+      package:
+        name: "{{ opnfv_required_packages }}"
+        state: latest
+    - name: install opnfv required pip packages
+      pip:
+        name: "{{ opnfv_required_pip }}"
+        state: present