kayobe/kayobe/tests
Mark Goddard 358b5c6882 Fix use of --ask-vault-pass argument
Currently, this argument does not work correctly, since the vault
password is not passed to kayobe via $KAYOBE_VAULT_PASSWORD, meaning
that it cannot update the kolla-ansible passwords.yml file.

It also works non-optimally, since every invocation of ansible-playbook
will prompt for a password.

This change fixes the issue by prompting for a password once in the
kayobe CLI, and storing the password in the $KAYOBE_VAULT_PASSWORD
environment variable. The kayobe-vault-password-helper command is then
used as the --vault-password-file to ansible-playbook, and the helper
pulls the password out of the environment.

Change-Id: I88b1b7b9e9be15b52e730d353ce1b1a6feacceb8
Story: 2001664
Task: 27009
2018-11-05 18:12:36 +00:00
..
molecule Add molecule test utilities 2018-02-21 10:33:07 +00:00
unit Fix use of --ask-vault-pass argument 2018-11-05 18:12:36 +00:00
__init__.py Add unit tests and style checks for Kayobe python module 2017-03-01 13:32:37 +00:00