You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying out this role without any vars on a fresh debian 10 system I got this error:
FAILED! => {
"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to be in '/home/peter/.ansible/roles/galaxyproject.postgresql/tasks/debian.yml': line 33, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Set version fact\n ^ here\n"
}
This is apparently because the task before, where the mentioned variable is to be registered, reports "msg": "skipped, running in check mode"
The text was updated successfully, but these errors were encountered:
PeterNerlich
changed the title
Install fails in check mode
role fails in check mode
May 29, 2021
Hi @PeterNerlich this is a known issue. A lot of the galaxy roles unfortunately don't support check mode. We'd welcome contributions to fix this, but the issue in a couple places is determining current versions in a check friendly way.
Let's leave it open, it would be good to fix! Maybe someone will be motivated. I used to be a heavy --check user in the past but I think it's not so important to everyone.
When trying out this role without any vars on a fresh debian 10 system I got this error:
This is apparently because the task before, where the mentioned variable is to be registered, reports
"msg": "skipped, running in check mode"
The text was updated successfully, but these errors were encountered: