Closed eduardoj closed 1 year ago
I guess the point here is that it's skipping: [obs]
in TASK [include_role : run_migrations]
, right?
After having a look at the code with @saraycp we saw that the condition to start the task defined in deploy_with_migration.yml
was not met: https://github.com/openSUSE/ansible-obs/blob/2317fafefd9a8a67a6626d943509b35476c8477d/deploy_with_migration.yml#L27
no_pending_migration
was true. This variable keeps if there is code for performing a migration in the difference between the new package to be installed and the installed package. This behaviour is expected. Closing.
On the deployment of 2022-12-01 we noticed that the
.rpm
packages were already upgraded, but there were pending migrations.We tried to use the
deploy_with_migration.yml
playbook, hoping that it would run the pending migrations. But it didn't. This was the output: