summaryrefslogtreecommitdiffstats
path: root/prototypes
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-07-12 07:46:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-12 07:46:57 +0000
commit3bd556d74c6e75da6c54781d410303dbb75fb9a4 (patch)
treeb951d84a5156b734ebfaf834ddfbd51dcebd2908 /prototypes
parent1dea2cad906da7da95ccd84f96ed49429e2b9c3d (diff)
parent4462d7d66e09c40c351cd36447412aa5525cc782 (diff)
Merge "Fix missing python packages for password generation"
Diffstat (limited to 'prototypes')
-rw-r--r--prototypes/xci/playbooks/configure-opnfvhost.yml7
-rw-r--r--prototypes/xci/var/Debian.yml1
-rw-r--r--prototypes/xci/var/RedHat.yml1
-rw-r--r--prototypes/xci/var/Suse.yml1
4 files changed, 10 insertions, 0 deletions
diff --git a/prototypes/xci/playbooks/configure-opnfvhost.yml b/prototypes/xci/playbooks/configure-opnfvhost.yml
index 8656ff9df..a7ce5216c 100644
--- a/prototypes/xci/playbooks/configure-opnfvhost.yml
+++ b/prototypes/xci/playbooks/configure-opnfvhost.yml
@@ -87,6 +87,13 @@
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:
diff --git a/prototypes/xci/var/Debian.yml b/prototypes/xci/var/Debian.yml
index d13d08097..33f110593 100644
--- a/prototypes/xci/var/Debian.yml
+++ b/prototypes/xci/var/Debian.yml
@@ -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
diff --git a/prototypes/xci/var/RedHat.yml b/prototypes/xci/var/RedHat.yml
index 6d03e0f32..eae7d127f 100644
--- a/prototypes/xci/var/RedHat.yml
+++ b/prototypes/xci/var/RedHat.yml
@@ -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
diff --git a/prototypes/xci/var/Suse.yml b/prototypes/xci/var/Suse.yml
index 6d03e0f32..9674ed2d9 100644
--- a/prototypes/xci/var/Suse.yml
+++ b/prototypes/xci/var/Suse.yml
@@ -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