mysql: refactor upgrade tasks to work without paunch
We are removing Paunch, and also Podman is the only container cli supported when it comes to upgrades, so this patch simplifies a bit how we deal with the upgrade of MySQL container. This submission also adds the path for the ansible modules installed from tripleo-ansible in the tht-check job. Change-Id: I8b01ac05bae6544119769e50501bf705b22081f3
This commit is contained in:
committed by
Carlos Camacho
parent
c93fd13fef
commit
a4de1eac9d
@@ -21,10 +21,13 @@ def test_tht_ansible_syntax(pytestconfig):
|
||||
tht_root = str(pytestconfig.invocation_params.dir)
|
||||
role_path = os.path.join(tht_root,
|
||||
"tripleo_heat_templates/tests/roles/tripleo-ansible/tripleo-ansible/tripleo_ansible/roles")
|
||||
mod_path = os.path.join(tht_root,
|
||||
"tripleo_heat_templates/tests/roles/tripleo-ansible/tripleo-ansible/tripleo_ansible/ansible_plugins/modules")
|
||||
play_path = os.path.join(tht_root,
|
||||
"tripleo_heat_templates/tests/test_tht_ansible_syntax.yml")
|
||||
|
||||
os.environ["ANSIBLE_ROLES_PATH"] = role_path
|
||||
os.environ["ANSIBLE_LIBRARY"] = mod_path
|
||||
|
||||
run = ansible_runner.run(
|
||||
playbook=play_path,
|
||||
|
||||
Reference in New Issue
Block a user