kayobe/kayobe
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
..
cli Add --disable-discovery argument to physical network 2018-10-11 19:31:20 +01:00
cmd Support encryption of configuration using Ansible Vault 2017-04-20 14:30:02 +01:00
tests Fix use of --ask-vault-pass argument 2018-11-05 18:12:36 +00:00
__init__.py Add kayobe python module with CLI 2017-02-28 16:17:54 +00:00
ansible.py Fix use of --ask-vault-pass argument 2018-11-05 18:12:36 +00:00
exception.py Support installing galaxy roles from kayobe-config 2018-05-21 16:00:57 +01:00
kolla_ansible.py Fix use of --ask-vault-pass argument 2018-11-05 18:12:36 +00:00
utils.py Fix galaxy role upgrade 2017-09-14 14:43:42 +01:00
vault.py Fix use of --ask-vault-pass argument 2018-11-05 18:12:36 +00:00
version.py Build release notes using reno 2018-05-04 15:11:23 +01:00