From c180813186b79ce022c907f4b0c63effd0e3cf76 Mon Sep 17 00:00:00 2001 From: Juan Vidal Allende Date: Tue, 11 Jul 2017 18:30:02 +0200 Subject: 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 --- xci/playbooks/configure-opnfvhost.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xci/playbooks') 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: -- cgit 1.2.3-korg