summaryrefslogtreecommitdiffstats
path: root/prototypes/xci/playbooks
diff options
context:
space:
mode:
authorJuan Vidal Allende <juan.vidal.allende@ericsson.com>2017-07-11 18:30:02 +0200
committerJuan Vidal Allende <juan.vidal.allende@ericsson.com>2017-07-11 22:39:14 +0200
commit4462d7d66e09c40c351cd36447412aa5525cc782 (patch)
tree17e1502f5e07821b21026f490390d02d7e9db5b9 /prototypes/xci/playbooks
parent961da26ee8049a3d6c9e7f17de9a12fa6e5cf266 (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>
Diffstat (limited to 'prototypes/xci/playbooks')
-rw-r--r--prototypes/xci/playbooks/configure-opnfvhost.yml7
1 files changed, 7 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: