Merge "Fix missing python packages for password generation"
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Wed, 12 Jul 2017 07:46:57 +0000 (07:46 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 12 Jul 2017 07:46:57 +0000 (07:46 +0000)
prototypes/xci/playbooks/configure-opnfvhost.yml
prototypes/xci/var/Debian.yml
prototypes/xci/var/RedHat.yml
prototypes/xci/var/Suse.yml

index 8656ff9..a7ce521 100644 (file)
       command: "/bin/bash ./scripts/bootstrap-ansible.sh"
       args:
         chdir: "{{OPENSTACK_OSA_PATH}}"
+    - name: install python Crypto module
+      package:
+        name: "{{ python_crypto_package_name }}"
+    - name: install PyYAML
+      pip:
+        name: pyyaml
+        state: present
     - name: generate password token
       command: "python pw-token-gen.py --file {{OPENSTACK_OSA_ETC_PATH}}/user_secrets.yml"
       args:
index d13d080..33f1105 100644 (file)
@@ -9,3 +9,4 @@
 ##############################################################################
 # this is the interface the VM nodes are connected to libvirt network "default"
 interface: "ens3"
+python_crypto_package_name: python-crypto
index 6d03e0f..eae7d12 100644 (file)
@@ -8,3 +8,4 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 # this is placeholder and left blank intentionally to complete later on
+python_crypto_package_name: python-crypto
index 6d03e0f..9674ed2 100644 (file)
@@ -8,3 +8,4 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 # this is placeholder and left blank intentionally to complete later on
+python_crypto_package_name: python-pycrypto