diff options
author | 2017-07-11 18:30:02 +0200 | |
---|---|---|
committer | 2017-08-11 12:56:12 -0700 | |
commit | c180813186b79ce022c907f4b0c63effd0e3cf76 (patch) | |
tree | bd42e3ba6c5cb70a91a74ed74a2fcbf167fa5674 | |
parent | d3affbf2236e8127ea904e51c3b54a089168499c (diff) |
Fix missing python packages for password generation
These packages are needed by pw-token-gen.py tool
Change-Id: Ib9d165274449551a469e201da9feeffac5a7a4cf
Signed-off-by: Juan Vidal Allende <juan.vidal.allende@ericsson.com>
-rw-r--r-- | xci/playbooks/configure-opnfvhost.yml | 7 | ||||
-rw-r--r-- | xci/var/Debian.yml | 1 | ||||
-rw-r--r-- | xci/var/RedHat.yml | 1 | ||||
-rw-r--r-- | xci/var/Suse.yml | 1 |
4 files changed, 10 insertions, 0 deletions
diff --git a/xci/playbooks/configure-opnfvhost.yml b/xci/playbooks/configure-opnfvhost.yml index 8656ff9d..a7ce5216 100644 --- a/xci/playbooks/configure-opnfvhost.yml +++ b/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/xci/var/Debian.yml b/xci/var/Debian.yml index d13d0809..33f11059 100644 --- a/xci/var/Debian.yml +++ b/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/xci/var/RedHat.yml b/xci/var/RedHat.yml index 6d03e0f3..eae7d127 100644 --- a/xci/var/RedHat.yml +++ b/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/xci/var/Suse.yml b/xci/var/Suse.yml index 6d03e0f3..9674ed2d 100644 --- a/xci/var/Suse.yml +++ b/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 |