kayobe/kayobe
Mark Goddard b2a11a5830 Prune unused Galaxy roles during upgrade
The 'kayobe control host upgrade' command updates the installed Ansible Galaxy
roles based on requirements.yml. Sometimes roles are removed from that file,
but there is currently no way of removing them from the local system.

Normally this causes no problems, but due to the upstream role containing
symlinks with whitespace, we are switching out yatesr.timezone to a
stackhpc.timezone fork. In order to make upgrades work, we need to ensure the
old role is removed. It also makes sense to clean up old roles generally.

This change adds support for removing stale roles during control host upgrade,
currently including the following roles:

stackhpc.os-flavors
stackhpc.os-projects
stackhpc.parted-1.1
yatesr.timezone

Change-Id: I174c7e6f19cbefda56777229a2441bf6469c0982
Story: 2004252
Task: 29166
2019-02-01 12:22:19 +00:00
..
cli Prune unused Galaxy roles during upgrade 2019-02-01 12:22:19 +00:00
cmd Improve kayobe --version output 2019-01-14 10:15:04 +00:00
tests Prune unused Galaxy roles during upgrade 2019-02-01 12:22:19 +00:00
__init__.py Add kayobe python module with CLI 2017-02-28 16:17:54 +00:00
ansible.py Prune unused Galaxy roles during upgrade 2019-02-01 12:22:19 +00:00
exception.py Support installing galaxy roles from kayobe-config 2018-05-21 16:00:57 +01:00
kolla_ansible.py Merge "Quote and escape extra vars passed to ansible" 2019-01-04 16:54:04 +00:00
utils.py Prune unused Galaxy roles during upgrade 2019-02-01 12:22:19 +00: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