From 8d9952c363b9bb1553c2af562fe9ebda47835e6b Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Thu, 14 Oct 2021 15:57:58 +0200 Subject: [PATCH] roles/paddls: fix 'Set the alembic revision' step Addresses error: sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string '/bin/sh: pecan: command not found' Fixes: ceph/paddles@925aff2 Signed-off-by: Kyr Shatskyy --- roles/paddles/tasks/setup_db.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/paddles/tasks/setup_db.yml b/roles/paddles/tasks/setup_db.yml index d37d280..573194e 100644 --- a/roles/paddles/tasks/setup_db.yml +++ b/roles/paddles/tasks/setup_db.yml @@ -39,7 +39,9 @@ when: not paddles_containerized - name: Set the alembic revision - shell: ./virtualenv/bin/alembic stamp head + shell: | + source virtualenv/bin/activate + alembic stamp head args: chdir: "{{ paddles_repo_path }}" when: -- 2.39.5